|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.sourceforge.esw.util.SupportObject
|
+--net.sourceforge.esw.widgets.adapters.NodeTableAdapter
This class will adapt an INode to a JTable for viewing.
| Fields inherited from class net.sourceforge.esw.util.SupportObject |
id, properties, propertyChildren, propertyListeners, vetoableChildren, vetoableListeners |
| Constructor Summary | |
NodeTableAdapter()
Creates a new NodeTableAdapter |
|
NodeTableAdapter(INode aNode)
Creates a new NodeTableAdapter |
|
| 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 |
propertyChange(java.beans.PropertyChangeEvent aPropertyChangeEvent)
Listens for property change events |
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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 |
| Constructor Detail |
public NodeTableAdapter(INode aNode)
aDyna - the INode to displaypublic NodeTableAdapter()
| Method Detail |
public void propertyChange(java.beans.PropertyChangeEvent aPropertyChangeEvent)
propertyChange in interface java.beans.PropertyChangeListeneraPropertyChangeEvent - The event of the PropertyChangeEventpublic java.lang.String[] getColumnNames()
getColumnNames in interface ITableAdapterpublic int getRowCount()
getRowCount in interface ITableAdapter
public java.lang.Object getValueAt(int aRow,
int aColumn)
getValueAt in interface ITableAdapteraRow - the row to retrieve this data fromaColumn - the Column to return the data at
public boolean isCellEditable(int aRow,
int aColumn)
isCellEditable in interface ITableAdapteraRow - the row to get check for edit-nessaColumn - the column to check for edit-ness
public void setValueAt(java.lang.Object aValue,
int aRow,
int aColumn)
setValueAt in interface ITableAdapteraValue - the value to set toaRow - The row to editaColumn - the column to set the value ofpublic java.lang.Object getSelectedObject(int aRow)
getSelectedObject in interface ITableAdapteraRow - the row to return the object frompublic void setModel(java.lang.Object aModel)
setModel in interface ITableAdaptermodel - the model for the table
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||