org.eidola.kernel.event
Class StructureChanged
java.lang.Object
|
+--org.eidola.kernel.event.ContainerEvent
|
+--org.eidola.kernel.event.CompileRequired
|
+--org.eidola.kernel.event.StructureChanged
- All Implemented Interfaces:
- Event
- public class StructureChanged
- extends CompileRequired
Signals that the source container's structure has changed.
Structure changes never propagate from other events; their propagator is
always null.
- Version:
- [Development version]
- Author:
- Paul Cantrell
- See Also:
Container
StructureChanged
public StructureChanged(Container source,
ContainerPart part)
- Parameters:
source
- The element whose structure has changed.part
- Which part of the element's structure has changed (e.g.
Element.OWNER
).
getPart
public ContainerPart getPart()
- Returns which part of the element's structure has changed
(e.g.
Element.OWNER
)
toString
public String toString()
- Overrides:
toString
in class ContainerEvent
hashCode
public int hashCode()
- Overrides:
hashCode
in class ContainerEvent
equals
public boolean equals(Object other)
- Returns true if other is also StructureChanged with the same source
and the same part.
- Overrides:
equals
in class ContainerEvent