    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:
  JCOutliner

##

NEW_STATE
  The node new state change type.

##

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

##

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

##

NEW_STATE

      public final static int NEW_STATE

  The node new state change type.

##

JCOutlinerEvent

      public JCOutlinerEvent(JCOutlinerInterface outliner,
                             JCOutlinerNode node,
                             boolean selected)

JCOutlinerEvent

      public JCOutlinerEvent(JCOutlinerInterface outliner,
                             JCOutlinerNode node,
                             int new_state)

##

getNode

      public JCOutlinerNode getNode()

  Gets the node whose state will be changed.

getState

      public int getState()

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

getNewState

      public int getNewState()

  Gets the node's new state. If the node is not a folder, the value will be BWTEnum.NOVALUE.

setNewState

      public void setNewState(int v)

  Sets the node's new state. This is ignored if the node is not a folder.

getAllowChange

      public boolean getAllowChange()

  Gets the current AllowChange value.

  See Also:
    setAllowChange

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