|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object quick.dbtable.DBTableEventListener
Constructor Summary | |
DBTableEventListener()
|
Method Summary | |
void |
afterColumnSelectionChange(int fromColumn,
int toColumn)
This function is called after the column selection change has happened. |
void |
afterRowSelectionChange(int fromRow,
int toRow)
This function is called after the row selection change has happened. |
boolean |
beforeColumnSelectionChange(int fromColumn,
int toColumn,
int fromRow,
int toRow)
This function is called whenever the user changes the selection from one column to another. |
boolean |
beforeRowSelectionChange(int fromRow,
int toRow,
int fromColumn,
int toColumn)
This function is called whenever the user changes the selection from one row to another. |
boolean |
onSortColumn(int column,
boolean ascending)
This function is called when the user clicks on the table column header to sort by that column. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DBTableEventListener()
Method Detail |
public boolean beforeRowSelectionChange(int fromRow, int toRow, int fromColumn, int toColumn)
fromRow
- the original row from which the user is trying to change selectiontoRow
- the new row which the user is trying to go.fromColumn
- the original column from which the user is trying to change selectiontoColumn
- the new column which the user is trying to go.
public boolean beforeColumnSelectionChange(int fromColumn, int toColumn, int fromRow, int toRow)
fromColumn
- the original column from which the user is trying to change selectiontoColumn
- the new column which the user is trying to go.fromRow
- the original row from which the user is trying to change selectiontoRow
- the new row which the user is trying to go.
public void afterRowSelectionChange(int fromRow, int toRow)
fromRow
- the original row from which the user is trying to change selectiontoRow
- the new row which the user is trying to go.public void afterColumnSelectionChange(int fromColumn, int toColumn)
fromColumn
- the original column from which the user is trying to change selectiontoColumn
- the new column which the user is trying to go.public boolean onSortColumn(int column, boolean ascending)
column
- the column which user has clicked to sortascending
- the sort order in which we are trying to sort
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |