JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid
Class HiGridTraverseEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.klg.jclass.higrid.HiGridEvent
              |
              +--com.klg.jclass.higrid.HiGridTraverseEvent
All Implemented Interfaces:
Serializable

public class HiGridTraverseEvent
extends HiGridEvent

Event object for HiGridTraverseEvent, a subclass of HiGridEvent containing information about the particular type of event.

See Also:
Serialized Form

Field Summary
static int AFTER_TRAVERSE
          The current cell has been moved to a new row or column.
protected  com.klg.jclass.higrid.CellPosition newPosition
           
protected  com.klg.jclass.higrid.CellPosition oldPosition
           
 
Fields inherited from class com.klg.jclass.higrid.HiGridEvent
cancelled, column, eventType, grid, rowNode
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HiGridTraverseEvent(com.klg.jclass.higrid.HiGrid grid, int eventType, com.klg.jclass.higrid.CellPosition oldPosition, com.klg.jclass.higrid.CellPosition newPosition)
          Default constructor
 
Method Summary
 com.klg.jclass.higrid.CellPosition getNewCellPosition()
          Retrieves the cell position after the traversal completed.
 com.klg.jclass.higrid.CellPosition getOldCellPosition()
          Retrieves the cell position before the traversal started.
 
Methods inherited from class com.klg.jclass.higrid.HiGridEvent
cancelProposedAction, getCancelled, getColumn, getEventType, getRowNode, isCancelable
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AFTER_TRAVERSE

public static final int AFTER_TRAVERSE
The current cell has been moved to a new row or column.

See Also:
Constant Field Values

oldPosition

protected com.klg.jclass.higrid.CellPosition oldPosition

newPosition

protected com.klg.jclass.higrid.CellPosition newPosition
Constructor Detail

HiGridTraverseEvent

public HiGridTraverseEvent(com.klg.jclass.higrid.HiGrid grid,
                           int eventType,
                           com.klg.jclass.higrid.CellPosition oldPosition,
                           com.klg.jclass.higrid.CellPosition newPosition)
Default constructor

Method Detail

getOldCellPosition

public com.klg.jclass.higrid.CellPosition getOldCellPosition()
Retrieves the cell position before the traversal started.

Returns:
the cell position before the traversal started.

getNewCellPosition

public com.klg.jclass.higrid.CellPosition getNewCellPosition()
Retrieves the cell position after the traversal completed.

Returns:
the cell position after the traversal completed.

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