borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.view
java.lang.Object +----java.util.EventObject +----borland.jbcl.util.DispatchableEvent +----borland.jbcl.view.TreeEvent
Variables Constructors Properties Methods
Implements Serializable
The TreeEvent is the object created whenever a tree item event occurs. Events types of NODE_COLLAPSED and NODE_EXPANDED are defined as constants in this class.
public static final int NODE_COLLAPSED = 1001
public static final int NODE_EXPANDED = 1000
public TreeEvent(java.lang.Object source, int id, borland.jbcl.model.GraphLocation node)Constructs a TreeItemEvent object with properties defined in its parameters.
Parameters:
public int getID()Read-only property that returns the event type. Valid values for this property are NODE_EXPANDED and NODE_COLLAPSED.
public GraphLocation getLocation()Read-only property that returns the item where the event occurred.
public void dispatch(java.util.EventListener listener)
Overrides: borland.jbcl.util.DispatchableEvent.dispatch(java.util.EventListener)
protected String paramString()
Overrides: borland.jbcl.util.DispatchableEvent.paramString()