|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.tentackle.ui.FormTableTraversalEvent
public class FormTableTraversalEvent
A cell traversal event.
Whenever a cell traversal occurs on a 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.
Furthermore, the event is vetoable, i.e. if one of the listeners
does not ack the event, the cell traversal will be cancelled.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
FormTableTraversalEvent(FormTable table,
boolean inhibited,
int fromRow,
int fromColumn,
int toRow,
int toColumn,
boolean editing,
boolean next)
Creates a new traversal event. |
|
| Method Summary | |
|---|---|
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()
Returns a String representation of this EventObject. |
| 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 |
| Constructor Detail |
|---|
public 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" cell| Method Detail |
|---|
public 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()
java.util.EventObject
toString in class EventObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||