public class StructuralEvent
extends java.util.EventObject
implements java.io.Serializable
Structural
interface
when its structure changes.StructuralListener
,
Serialized FormConstructor and Description |
---|
StructuralEvent(Structural source,
java.lang.Object child,
int index)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getChild()
Get the child.
|
int |
getIndex()
Get the index.
|
java.lang.String |
toString() |
public StructuralEvent(Structural source, java.lang.Object child, int index)
source
- The source of the event. Generally the parent.child
- The child object that has been added or removed.index
- The position where it was added or removed (starting at 0).