|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.table.AbstractTableModel
net.sf.jzeno.echo.databinding.BoundTableModel
public class BoundTableModel
Implementation of the TableModel interface that provides the databinding capabilities of DynaTable.
Field Summary |
---|
Fields inherited from class nextapp.echo.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
BoundTableModel(DynaTable table,
ConstructionList constructionList)
|
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs. |
void |
clearComponentCaches()
Clear any cached component that you may have. |
java.lang.Class |
getColumnClass(int column)
Returns Object.class. |
int |
getColumnCount()
Returns the number of columns in the table. |
java.lang.String |
getColumnName(int column)
Returns the value found at the given coordinate within the table. |
ConstructionList |
getConstructionList()
|
java.lang.Object |
getCopiedValueAt(int column,
int row)
|
int |
getRowCount()
Returns the number of rows in the table. |
DynaTable |
getTable()
|
java.lang.Object |
getValueAt(int column,
int row)
Returns the value found at the given coordinate within the table. |
boolean |
hasCopiedValueAt(int column,
int row)
|
void |
markValid()
|
void |
setConstructionList(ConstructionList cl)
|
void |
updateComponentCaches()
This method allows you to update any cached component when the data being visualized in this table changes (i.e. setList() is executed on the DynaTable) |
protected void |
updateTable()
|
Methods inherited from class nextapp.echo.table.AbstractTableModel |
---|
addTableModelListener, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, isRowEditable, removeTableModelListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoundTableModel(DynaTable table, ConstructionList constructionList)
Method Detail |
---|
public java.lang.Class getColumnClass(int column)
AbstractTableModel
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
column
- The column number whose class is to be returned.
TableModel.getColumnClass(int)
public int getColumnCount()
TableModel
getColumnCount
in interface TableModel
TableModel.getColumnCount()
public java.lang.String getColumnName(int column)
AbstractTableModel
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
column
- The column of the value to return.
TableModel.getColumnName(int)
public int getRowCount()
TableModel
getRowCount
in interface TableModel
TableModel.getRowCount()
public java.lang.Object getValueAt(int column, int row)
TableModel
getValueAt
in interface TableModel
column
- The column of the value to return.row
- The row of the value to return.TableModel.getValueAt(int, int)
public DynaTable getTable()
public void updateComponentCaches()
public void clearComponentCaches()
public void actionPerformed(ActionEvent e)
ActionListener
actionPerformed
in interface ActionListener
e
- The event describing the action.public void markValid()
public java.lang.Object getCopiedValueAt(int column, int row)
public boolean hasCopiedValueAt(int column, int row)
protected void updateTable()
public void setConstructionList(ConstructionList cl)
public ConstructionList getConstructionList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |