All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.bwt.JCOutlinerEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----java.awt.AWTEvent
                   |
                   +----java.awt.event.ItemEvent
                           |
                           +----jclass.bwt.JCItemEvent
                                   |
                                   +----jclass.bwt.JCOutlinerEvent

public class JCOutlinerEvent
extends JCItemEvent
JCOutlinerEvent is the selection or state change event posted by a JCOutliner or JCOutlinerComponent.

See Also:
addItemListener, JCOutlinerAdapter, JCOutlinerListener

Variable Index

 o NEW_STATE
The node new state change type.

Constructor Index

 o JCOutlinerEvent(JCOutlinerInterface, JCOutlinerNode, boolean)
 o JCOutlinerEvent(JCOutlinerInterface, JCOutlinerNode, int)

Method Index

 o getAllowChange()
Gets the current AllowChange value.
 o getNewState()
Gets the node's new state.
 o getNode()
Gets the node whose state will be changed.
 o getState()
Gets the node's current state (set to BWTEnum.NOVALUE if the node is not a folder).
 o setAllowChange(boolean)
Determines whether the selection or state change should be allowed (default: true).
 o setNewState(int)
Sets the node's new state.

Variables

 o NEW_STATE
 public static final int NEW_STATE
The node new state change type.

Constructors

 o JCOutlinerEvent
 public JCOutlinerEvent(JCOutlinerInterface outliner,
                        JCOutlinerNode node,
                        boolean selected)
 o JCOutlinerEvent
 public JCOutlinerEvent(JCOutlinerInterface outliner,
                        JCOutlinerNode node,
                        int new_state)

Methods

 o getNode
 public JCOutlinerNode getNode()
Gets the node whose state will be changed.

 o getState
 public int getState()
Gets the node's current state (set to BWTEnum.NOVALUE if the node is not a folder).

 o getNewState
 public int getNewState()
Gets the node's new state. If the node is not a folder, the value will be BWTEnum.NOVALUE.

 o setNewState
 public void setNewState(int v)
Sets the node's new state. This is ignored if the node is not a folder.

 o getAllowChange
 public boolean getAllowChange()
Gets the current AllowChange value.

See Also:
setAllowChange
 o setAllowChange
 public void setAllowChange(boolean v)
Determines whether the selection or state change should be allowed (default: true).


All Packages  Class Hierarchy  This Package  Previous  Next  Index