Skip navigation links
oracle.javatools.data
Class StructureChangeEvent
java.lang.Object
java.util.EventObject
oracle.javatools.data.StructureChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- HashStructureNodeChangeEvent
-
public class StructureChangeEvent
- extends java.util.EventObject
The event object describing a change in a HashStructure
or ListStructure
. The details of the change are obtained from getChangeDetails()
.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
StructureChangeEvent(java.lang.Object source, ChangeInfo changeDetail)
Creates a new StructureChangeEvent for the specified source and single change detail. |
StructureChangeEvent(java.lang.Object source, ChangeInfo[] changeDetails)
Creates a new StructureChangeEvent for the specified source and a collection of change details. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StructureChangeEvent
public StructureChangeEvent(java.lang.Object source,
ChangeInfo changeDetail)
- Creates a new StructureChangeEvent for the specified source and single change detail. This constructor is normally used for unbatched changes.
StructureChangeEvent
public StructureChangeEvent(java.lang.Object source,
ChangeInfo[] changeDetails)
- Creates a new StructureChangeEvent for the specified source and a collection of change details. This constructor is normally used for
batched changes
.
getChangeDetails
public ChangeInfo[] getChangeDetails()
- Returns the change details for this event.
toChangeDetails
protected static ChangeInfo[] toChangeDetails(ChangeInfo changeDetail)
- Convenience method for converting the specified
ChangeInfo
into a non-null array of ChangeInfo.
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.util.EventObject
Skip navigation links
Copyright © 1997, 2011, Oracle. All rights reserved.