public abstract class AbstractTreeTableNodeDataEditor extends java.lang.Object implements TreeTableNodeDataEditor
TreeNodeData
.Constructor and Description |
---|
AbstractTreeTableNodeDataEditor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowsChildren()
Returns true if the node is of the type that can have child
elements; false otherwise.
|
protected int |
getDepth()
Returns the depth of the tree node in the hierarchy.
|
protected boolean |
hasChildren()
Returns true if the tree node has child nodes; false
otherwise.
|
protected boolean |
isExpanded()
Returns true if the node is expanded and its children are thus
visible; false if it is collapsed and its children are thus
hidden.
|
void |
setTreeNodeData(TreeNodeData treeNodeData)
This method will be called before
TableCellEditor.getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int)
in order to provide hierarchy information about the tree node being
edited. |
public final void setTreeNodeData(TreeNodeData treeNodeData)
TreeTableNodeDataEditor
TableCellEditor.getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int)
in order to provide hierarchy information about the tree node being
edited. Implementations should store a reference to the given
treeNodeData
and use it when producing an editor component.setTreeNodeData
in interface TreeTableNodeDataEditor
treeNodeData
- an object describing hierarchical information about
the tree node being editedprotected int getDepth()
protected boolean hasChildren()
protected boolean allowsChildren()
protected boolean isExpanded()
hasChildren()
returns true; otherwise it should be ignored.Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by mockbuild at 2017-02-10 17:48