Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

nextapp.echo.event
Class HierarchyEvent  view HierarchyEvent download HierarchyEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended bynextapp.echo.event.HierarchyEvent
All Implemented Interfaces:
java.io.Serializable

public class HierarchyEvent
extends java.util.EventObject

An event describing a change to the component hierarchy.


Field Summary
private  nextapp.echo.Component changed
           
private  nextapp.echo.Component changedParent
           
private  long changeFlags
           
private  nextapp.echo.Component component
           
static int PARENT_CHANGED
           
static int REGISTRATION_CHANGED
           
static int SHOWING_CHANGED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HierarchyEvent(nextapp.echo.Component source, long changeFlags, nextapp.echo.Component changed, nextapp.echo.Component changedParent)
          Creates a new HierarchyEvent
 
Method Summary
 nextapp.echo.Component getChanged()
          Returns the component whose state within the hierarchy changed.
 nextapp.echo.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.
 nextapp.echo.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

SHOWING_CHANGED

public static final int SHOWING_CHANGED
See Also:
Constant Field Values

PARENT_CHANGED

public static final int PARENT_CHANGED
See Also:
Constant Field Values

REGISTRATION_CHANGED

public static final int REGISTRATION_CHANGED
See Also:
Constant Field Values

changeFlags

private long changeFlags

changed

private nextapp.echo.Component changed

changedParent

private nextapp.echo.Component changedParent

component

private nextapp.echo.Component component
Constructor Detail

HierarchyEvent

public HierarchyEvent(nextapp.echo.Component source,
                      long changeFlags,
                      nextapp.echo.Component changed,
                      nextapp.echo.Component changedParent)
Creates a new HierarchyEvent

Method Detail

getChangeFlags

public long getChangeFlags()
Returns a bitmask describing the change to the heirarchy.


getChanged

public nextapp.echo.Component getChanged()
Returns the component whose state within the hierarchy changed.


getChangedParent

public nextapp.echo.Component getChangedParent()
Returns the parent (or former parent) of the component whose state within the hierarchy changed.


getComponent

public nextapp.echo.Component getComponent()
Returns the component which generated this event.


isParentChanged

public boolean isParentChanged()
Returns true if the Component's parent has changed.


isRegistrationChanged

public boolean isRegistrationChanged()
Returns true if the Component's registration state has changed.


isShowingChanged

public boolean isShowingChanged()
Returns true if the Component's showing state has changed.