public class TTableAdapter extends java.lang.Object implements TTableListener
TTableListener
.
All methods are empty in this implementation.Constructor and Description |
---|
TTableAdapter() |
Modifier and Type | Method and Description |
---|---|
boolean |
beforeCellValueChanged(java.util.Vector rowData,
int columnIndex,
java.lang.Object oldValue,
java.lang.Object newValue)
Called before cell value is changed
|
void |
lockedChanged()
Called when tableModel locked state is changed
|
void |
pageChanged()
Called when page is changed.
|
void |
rowClicked(int clickCount,
java.util.Vector rowData,
int columnIndex)
Called when row is double clicked
|
void |
rowSelectionChanged(java.util.List selectedRows,
boolean isSelectionAdjusting)
Called when selected row changes
|
void |
tableDataChanged(TTableModelEvent e)
Called when table data is changed.
|
public void rowClicked(int clickCount, java.util.Vector rowData, int columnIndex)
rowClicked
in interface TTableListener
clickCount
- rowData
- row data of the double clicked rowcolumnIndex
- index of the column that is double clickedpublic void rowSelectionChanged(java.util.List selectedRows, boolean isSelectionAdjusting)
rowSelectionChanged
in interface TTableListener
selectedRows
- all current selected rowsisSelectionAdjusting
- true if mouse is still be pressed.public boolean beforeCellValueChanged(java.util.Vector rowData, int columnIndex, java.lang.Object oldValue, java.lang.Object newValue)
beforeCellValueChanged
in interface TTableListener
rowData
- row data that is will be changecolumnIndex
- column indexoldValue
- old valuenewValue
- new valuepublic void lockedChanged()
lockedChanged
in interface TTableListener
public void tableDataChanged(TTableModelEvent e)
tableDataChanged
in interface TTableListener
e
- public void pageChanged()
pageChanged
in interface PageListener
Copyright © 2002 - 2010 Serva Software. All Rights Reserved.