|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Table Model Interface.
Method Summary | |
void |
addTableModelListener(TableModelListener listener)
Adds listener. |
java.lang.Class |
getColumnClass(int columnIndex)
Returns the class of the specified column. |
int |
getColumnCount()
Returns the number of columns. |
java.lang.String |
getColumnName(int columnIndex)
Returns the name of the specified column. |
int |
getRowCount()
Returns the number of rows. |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Returns the value of the specified cell. |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
Returns true if the cell is editable. |
void |
removeTableModelListener(TableModelListener listener)
Removes a listener. |
void |
setValueAt(java.lang.Object value,
int rowIndex,
int columnIndex)
Sets the value for the specified cell. |
Method Detail |
public int getRowCount()
public int getColumnCount()
public java.lang.String getColumnName(int columnIndex)
columnIndex
- the column index
public java.lang.Class getColumnClass(int columnIndex)
columnIndex
- the column index
public boolean isCellEditable(int rowIndex, int columnIndex)
rowIndex
- the row indexcolumnIndex
- the column index
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
rowIndex
- the row indexcolumnIndex
- the column index
public void setValueAt(java.lang.Object value, int rowIndex, int columnIndex)
value
- the valuerowIndex
- the row indexcolumnIndex
- the column indexpublic void addTableModelListener(TableModelListener listener)
listener
- the listenerpublic void removeTableModelListener(TableModelListener listener)
listener
- the listener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |