public class DesignStructureEvent
extends java.util.EventObject
implements java.io.Serializable
DesignNotifier
s when their
structure changes.Constructor and Description |
---|
DesignStructureEvent(DesignNotifier source,
DesignInstance child,
int index)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DesignInstance |
getChild()
Get the child.
|
int |
getIndex()
Get the index.
|
DesignNotifier |
getSource() |
public DesignStructureEvent(DesignNotifier source, DesignInstance 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).public DesignInstance getChild()
public int getIndex()
public DesignNotifier getSource()
getSource
in class java.util.EventObject