public class InterfaceTreeNode extends UniqueNode implements com.alee.api.IconSupport, com.alee.api.TitleSupport
| Modifier and Type | Field and Description |
|---|---|
protected InterfaceTree |
tree
Interface components tree.
|
id, ID_PREFIX| Constructor and Description |
|---|
InterfaceTreeNode(InterfaceTree tree,
java.awt.Component component)
Constructs interface tree node.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Component |
getComponent()
Returns component this node references.
|
javax.swing.Icon |
getIcon() |
protected ComponentInfo |
getInfo(java.awt.Component component) |
java.lang.String |
getTitle() |
protected StyleableComponent |
getType(java.awt.Component component) |
java.lang.String |
toString()
Returns proper node text representation.
|
getId, getParent, getTreePath, setId, setIdadd, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObjectprotected final InterfaceTree tree
public InterfaceTreeNode(InterfaceTree tree, java.awt.Component component)
tree - interface components treecomponent - component this node referencespublic java.awt.Component getComponent()
public javax.swing.Icon getIcon()
getIcon in interface com.alee.api.IconSupportpublic java.lang.String getTitle()
getTitle in interface com.alee.api.TitleSupportprotected StyleableComponent getType(java.awt.Component component)
protected ComponentInfo getInfo(java.awt.Component component)
public java.lang.String toString()
toString in class UniqueNode