|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.swingx.treetable.AbstractMutableTreeTableNode
org.jdesktop.swingx.treetable.DefaultMutableTreeTableNode
public class DefaultMutableTreeTableNode
A default implementation of an AbstractMutableTreeTableNode that
returns getUserObject().toString() for all value queries. This
implementation is designed mainly for testing. It is NOT recommended to use
this implementation. Any user that needs to create TreeTableNodes
should consider directly extending AbstractMutableTreeTableNode or
directly implementing the interface.
| Field Summary |
|---|
| Fields inherited from class org.jdesktop.swingx.treetable.AbstractMutableTreeTableNode |
|---|
allowsChildren, children, parent, userObject |
| Constructor Summary | |
|---|---|
DefaultMutableTreeTableNode()
|
|
DefaultMutableTreeTableNode(java.lang.Object userObject)
|
|
DefaultMutableTreeTableNode(java.lang.Object userObject,
boolean allowsChildren)
|
|
| Method Summary | |
|---|---|
int |
getColumnCount()
Returns the number of columns supported by this TreeTableNode. |
java.lang.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(java.lang.Object aValue,
int column)
Sets the value for the given column. |
| Methods inherited from class org.jdesktop.swingx.treetable.AbstractMutableTreeTableNode |
|---|
add, children, createChildrenList, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, getUserObject, insert, isLeaf, remove, remove, removeFromParent, setAllowsChildren, setParent, setUserObject, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMutableTreeTableNode()
public DefaultMutableTreeTableNode(java.lang.Object userObject)
userObject -
public DefaultMutableTreeTableNode(java.lang.Object userObject,
boolean allowsChildren)
userObject - allowsChildren - | Method Detail |
|---|
public java.lang.Object getValueAt(int column)
column - the column to query
public int getColumnCount()
TreeTableNode.
public boolean isEditable(int column)
isEditable in interface TreeTableNodeisEditable in class AbstractMutableTreeTableNodecolumn - the column to query
false
public void setValueAt(java.lang.Object aValue,
int column)
column.
setValueAt in interface TreeTableNodesetValueAt in class AbstractMutableTreeTableNodeaValue - the value to setcolumn - the column to set the value on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||