JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid
Class AutoTraverseCallbackAdapter

java.lang.Object
  |
  +--com.klg.jclass.higrid.AutoTraverseCallbackAdapter
All Implemented Interfaces:
AutoTraverseCallback

public abstract class AutoTraverseCallbackAdapter
extends Object
implements AutoTraverseCallback

The adapter which receives AutoTraverseCallback events. The methods in this class are empty; this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.

See Also:
AutoTraverseCallback

Constructor Summary
AutoTraverseCallbackAdapter()
           
 
Method Summary
 byte getState(com.klg.jclass.higrid.HiGrid grid, com.klg.jclass.higrid.RowNode rowNode)
          Return the new state of this rowNode, after its creation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoTraverseCallbackAdapter

public AutoTraverseCallbackAdapter()
Method Detail

getState

public byte getState(com.klg.jclass.higrid.HiGrid grid,
                     com.klg.jclass.higrid.RowNode rowNode)
Return the new state of this rowNode, after its creation. Valid states are found in the NodeStatus class, and are NodeStatus.FOLDER_CLOSED (don't expand the node) NodeStatus.FOLDER_OPEN (expand the node to show its children) NodeStatus.FOLDER_NONE (the node has no children).

Specified by:
getState in interface AutoTraverseCallback
Parameters:
grid - The current instance of HiGrid
rowNode - The rowNode currently being created/traversed.
Returns:
The new rowNode state. The adapter returns NodeStatus.FOLDER_CLOSED by default.

Copyright © 2004 Quest Software Inc..
All rights reserved.