|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TreeTableNode
Defines the requirements for an object that can be used as a tree node in a
JXTreeTable. This interface is used as a
placeholder for the TreeTableNode interface
defined in SwingX, in order to identify
the code where we would use the later interface if we were allowed to introduce
SwingX dependencies.
The first dependency to SwingX appears in the geotk-widgets-swing module, which provides an adapter from this interface to the SwingX tree table model.
JXTreeTable,
TreeTableModelAdapter
| utility/geotk-utility (download) | View source code for this class |
| Method Summary | |
|---|---|
Class<?> |
getColumnClass(int column)
Returns the most specific superclass of values that can be stored in the given column. |
int |
getColumnCount()
Returns the number of columns supported by this TreeTableNode. |
Object |
getValueAt(int column)
Gets the value for this node that corresponds to a particular tabular column. |
boolean |
isEditable(int column)
Determines whether the specified column is editable. |
void |
setValueAt(Object value,
int column)
Sets the value for the given column. |
| Methods inherited from interface TreeNode |
|---|
children, getUserObject, toString |
| Methods inherited from interface TreeNode |
|---|
getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
| Method Detail |
|---|
int getColumnCount()
TreeTableNode.
Class<?> getColumnClass(int column)
column - The column to query.
IndexOutOfBoundsException - If the given column is not a valid column index.Object getValueAt(int column)
column - The column to query.
IndexOutOfBoundsException - If the given column is not a valid column index.
void setValueAt(Object value,
int column)
value - The value to set.column - The column to set the value on.
IndexOutOfBoundsException - If the given column is not a valid column index.boolean isEditable(int column)
column - The column to query.
true if the column is editable, false otherwise.
IndexOutOfBoundsException - If the given column is not a valid column index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||