|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
nextapp.echo.event.HierarchyEvent
public class HierarchyEvent
An event describing a change to the component hierarchy.
Field Summary | |
---|---|
static int |
PARENT_CHANGED
|
static int |
REGISTRATION_CHANGED
|
static int |
SHOWING_CHANGED
|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
HierarchyEvent(Component source,
long changeFlags,
Component changed,
Component changedParent)
Creates a new HierarchyEvent |
Method Summary | |
---|---|
Component |
getChanged()
Returns the component whose state within the hierarchy changed. |
Component |
getChangedParent()
Returns the parent (or former parent) of the component whose state within the hierarchy changed. |
long |
getChangeFlags()
Returns a bitmask describing the change to the heirarchy. |
Component |
getComponent()
Returns the component which generated this event. |
boolean |
isParentChanged()
Returns true if the Component 's parent has changed. |
boolean |
isRegistrationChanged()
Returns true if the Component 's registration state has
changed. |
boolean |
isShowingChanged()
Returns true if the Component 's showing state has
changed. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SHOWING_CHANGED
public static final int PARENT_CHANGED
public static final int REGISTRATION_CHANGED
Constructor Detail |
---|
public HierarchyEvent(Component source, long changeFlags, Component changed, Component changedParent)
HierarchyEvent
source
- The generator of the event.Method Detail |
---|
public long getChangeFlags()
public Component getChanged()
public Component getChangedParent()
public Component getComponent()
public boolean isParentChanged()
Component
's parent has changed.
Component
's parent has changed.public boolean isRegistrationChanged()
Component
's registration state has
changed.
Component
's registration state has
changed.public boolean isShowingChanged()
Component
's showing state has
changed.
Component
's showing state has
changed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |