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
|
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. |
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
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
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.