public class StructuralEvent extends EventObject implements Serializable
Structural
interface
when its structure changes.StructuralListener
,
Serialized Formsource
Constructor and Description |
---|
StructuralEvent(Structural source,
Object child,
int index)
Constructor.
|
public StructuralEvent(Structural source, 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).public Object getChild()
public int getIndex()
public String toString()
toString
in class EventObject