public class DesignStructureEvent extends EventObject implements Serializable
source
Constructor and Description |
---|
DesignStructureEvent(Object source,
DesignInstance child,
int index)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DesignInstance |
getChild()
Get the child.
|
int |
getIndex()
Get the index.
|
getSource, toString
public DesignStructureEvent(Object 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()