|
|||||||||
| Home >> All >> ledestin >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
ledestin.swing
Interface EditableTreeNode

- All Superinterfaces:
- javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
- public interface EditableTreeNode
- extends javax.swing.tree.MutableTreeNode
Implement the interface only for nodes that can have children.
EditableTreeNodes are supposed to have child nodes of one
particular type. In an empty JEditableTree
its nodes must be able to create their children.
| Method Summary | |
javax.swing.tree.MutableTreeNode |
createNewChild()
Creates a new node of the "child node type", of this node. |
java.lang.Class |
getChildClass()
Returns the "child node type" for the node. |
| Methods inherited from interface javax.swing.tree.MutableTreeNode |
insert, remove, remove, removeFromParent, setParent, setUserObject |
| Methods inherited from interface javax.swing.tree.TreeNode |
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
| Method Detail |
createNewChild
public javax.swing.tree.MutableTreeNode createNewChild() throws ChildNodeCreationException
- Creates a new node of the "child node type", of this node.
Note that the newly created node isn't added to this node
with insert 55
method or in any other way. It is just the way of creating children for node.
getChildClass
public java.lang.Class getChildClass() throws java.lang.ClassNotFoundException
- Returns the "child node type" for the node.
|
|||||||||
| Home >> All >> ledestin >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC