public class FormTableTraversalEvent extends EventObject
FormTable (see setCellTraversal())
an event will be sent to all FormTableTraversalListeners.
The event will also be triggered if a cell traversal does not take place
due to wrapping restrictions.source| Constructor and Description |
|---|
FormTableTraversalEvent(FormTable table,
boolean inhibited,
int fromRow,
int fromColumn,
int toRow,
int toColumn,
boolean editing,
boolean next)
Creates a new traversal event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFromColumn()
Gets the column in which the event was fired.
|
int |
getFromRow()
Gets the row in which the event was fired.
|
FormTable |
getTable()
Gets the table.
|
int |
getToColumn()
Gets the column the event is related to.
|
int |
getToRow()
Gets the row the event is related to.
|
boolean |
isEditing()
Returns whether traversal will start editing of the cell in toRow/toColumn.
|
boolean |
isInhibited()
Returns whether traversal was inhibited due to wrapping restrictions.
|
boolean |
isNext()
Returns whether traversal was "to next", false if "to previous" cell.
|
String |
toString() |
getSourcepublic FormTableTraversalEvent(FormTable table, boolean inhibited, int fromRow, int fromColumn, int toRow, int toColumn, boolean editing, boolean next)
table - the FormTableinhibited - true if traversal inhibited due to wrapping restrictionsfromRow - the row in which the event was firedfromColumn - the column in which the event was firedtoRow - the row the event is related totoColumn - the column the event is related toediting - true if traversal will start editing of the cell in toRow/toColumnnext - true if traversal was "to next", false if "to previous" cellpublic FormTable getTable()
public int getFromRow()
public int getFromColumn()
public int getToRow()
public int getToColumn()
public boolean isEditing()
public boolean isNext()
public boolean isInhibited()
public String toString()
toString in class EventObjectTentackle - distributed, domain- and model-driven