|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This Adapter will provide a Table the info necessary to construct a table of the adapted data. Any object that wishes to be viewed in the table must implement this interface.
Method Summary | |
java.lang.String[] |
getColumnNames()
Returns the names of the columns |
int |
getRowCount()
Returns the number of rows to be displayed in the Viewer |
java.lang.Object |
getSelectedObject(int aRow)
Returns the selected Object |
java.lang.Object |
getValueAt(int aRow,
int aColumn)
Returns the value at the specified column |
boolean |
isCellEditable(int aRow,
int aColumn)
Is the cell editable at the specifed row and column |
void |
setModel(java.lang.Object aModel)
Sets the model for the table |
void |
setValueAt(java.lang.Object aValue,
int aRow,
int aColumn)
Sets the value at a specified row and column |
Methods inherited from interface net.sourceforge.esw.util.ISupportObject |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getID, getProperty, getPropertySize, propertyKeys, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setID, setProperty |
Method Detail |
public java.lang.String[] getColumnNames()
public int getRowCount()
public java.lang.Object getValueAt(int aRow, int aColumn)
aRow
- the row to retrieve this data fromaColumn
- the Column to return the data atpublic boolean isCellEditable(int aRow, int aColumn)
aRow
- the row to get check for edit-nessaColumn
- the column to check for edit-nesspublic void setValueAt(java.lang.Object aValue, int aRow, int aColumn)
aValue
- the value to set toaRow
- The row to editaColumn
- the column to set the value ofpublic java.lang.Object getSelectedObject(int aRow)
aRow
- the row to return the object frompublic void setModel(java.lang.Object aModel)
model
- the model for the table
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |