Eidola home

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

Constructor Summary
StructureChanged(Container source, ContainerPart part)
           
 
Method Summary
 boolean equals(Object other)
          Returns true if other is also StructureChanged with the same source and the same part.
 ContainerPart getPart()
          Returns which part of the element's structure has changed (e.g. Element.OWNER)
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.eidola.kernel.event.ContainerEvent
getPropagatedFrom, getSource, propagationChainContains
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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).
Method Detail

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

Eidola home