|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.klg.jclass.table.JCTraverseCellEvent
This event is posted as a user traverses from one cell to another.
The event is posted after a user has committed a cell edit, and before moving to the next cell.
JCTable.addTraverseCellListener(com.klg.jclass.table.JCTraverseCellListener)
,
JCTraverseCellListener
,
Serialized FormField Summary | |
static int |
AFTER_TRAVERSE_CELL
|
protected boolean |
cancelled
|
protected int |
current_column
|
protected int |
current_row
|
protected int |
next_column
|
protected int |
next_row
|
static int |
TRAVERSE_CELL
|
protected int |
traverse_type
|
protected int |
type
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
JCTraverseCellEvent(Object source,
int type,
int row,
int column,
int next_row,
int next_column,
int traverse_type)
|
Method Summary | |
int |
getColumn()
Gets the column of the current cell. |
int |
getNextColumn()
Gets the proposed column of the cell to traverse to. |
int |
getNextRow()
Gets the proposed row of the cell to traverse to. |
int |
getRow()
Gets the row of the current cell. |
int |
getTraverseType()
Returns the action that caused the traverse. |
String |
getTraverseTypeString()
Returns a String value for a traverse type. |
int |
getType()
Gets the event type. |
boolean |
isCancelled()
Gets the Cancelled value. |
void |
setCancelled(boolean value)
Sets the Cancelled value. |
void |
setNextColumn(int value)
Sets the column of the cell to traverse to. |
void |
setNextRow(int value)
Sets the row of the cell to traverse to. |
String |
toString()
Returns a String representation of the event. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int TRAVERSE_CELL
public static final int AFTER_TRAVERSE_CELL
protected int type
protected int current_row
protected int current_column
protected int next_row
protected int next_column
protected int traverse_type
protected boolean cancelled
Constructor Detail |
public JCTraverseCellEvent(Object source, int type, int row, int column, int next_row, int next_column, int traverse_type)
Method Detail |
public int getRow()
public int getColumn()
public int getNextRow()
public int getNextColumn()
public void setNextRow(int value)
value
- public void setNextColumn(int value)
value
- public int getTraverseType()
JCTableEnum.TRAVERSE_POINTER | mouse click |
JCTableEnum.TRAVERSE_DOWN | down |
JCTableEnum.TRAVERSE_UP | up |
JCTableEnum.TRAVERSE_LEFT | left |
JCTableEnum.TRAVERSE_RIGHT | right |
JCTableEnum.TRAVERSE_PAGEUP | page up |
JCTableEnum.TRAVERSE_PAGEDOWN | page down |
JCTableEnum.TRAVERSE_HOME | top/left |
JCTableEnum.TRAVERSE_END | bottom/right |
JCTableEnum.TRAVERSE_TOP | top of column |
JCTableEnum.TRAVERSE_BOTTOM | bottom of column |
JCTableEnum.TRAVERSE_TO_CELL | programmatic |
JCTable.traverse(int, int, boolean, boolean)
public String getTraverseTypeString()
public boolean isCancelled()
Cancelled
value.
setCancelled(boolean)
public void setCancelled(boolean value)
Cancelled
value.
value
- isCancelled()
public int getType()
public String toString()
toString
in class EventObject
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |