org.apache.tapestry.contrib.tree.model
Class TreeStateEvent

java.lang.Object
  extended by org.apache.tapestry.contrib.tree.model.TreeStateEvent

public class TreeStateEvent
extends Object

Version:
$Id: TreeStateEvent.java 243791 2004-02-19 17:38:13Z hlship $
Author:
ceco

Field Summary
static int NODE_COLLAPSED
           
static int NODE_EXPANDED
           
static int SELECTED_NODE_CHANGED
           
 
Constructor Summary
TreeStateEvent(int nEventType, Object objNodeUID, ITreeStateModel objTreeStateModel)
          Constructor for TreeStateEvent.
 
Method Summary
 int getEventType()
          Returns the EventType.
 Object getNodeUID()
           
 ITreeStateModel getTreeStateModel()
           
 boolean isEvent(int nEventType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SELECTED_NODE_CHANGED

public static final int SELECTED_NODE_CHANGED
See Also:
Constant Field Values

NODE_EXPANDED

public static final int NODE_EXPANDED
See Also:
Constant Field Values

NODE_COLLAPSED

public static final int NODE_COLLAPSED
See Also:
Constant Field Values
Constructor Detail

TreeStateEvent

public TreeStateEvent(int nEventType,
                      Object objNodeUID,
                      ITreeStateModel objTreeStateModel)
Constructor for TreeStateEvent.

Method Detail

getEventType

public int getEventType()
Returns the EventType.

Returns:
int

isEvent

public boolean isEvent(int nEventType)

getNodeUID

public Object getNodeUID()

getTreeStateModel

public ITreeStateModel getTreeStateModel()