Package org.opt4j.config.visualization
Class DefaultModulesPanel.CategoryTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- org.opt4j.config.visualization.DefaultModulesPanel.UserNode
-
- org.opt4j.config.visualization.DefaultModulesPanel.CategoryTreeNode
-
- All Implemented Interfaces:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
- Enclosing class:
- DefaultModulesPanel
protected class DefaultModulesPanel.CategoryTreeNode extends DefaultModulesPanel.UserNode
TheDefaultModulesPanel.CategoryTreeNode
is used for nodes that represent categories.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
-
Constructor Summary
Constructors Constructor Description CategoryTreeNode(Class<?> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageIcon
getIcon()
Class<?>
getType()
String
toString()
-
Methods inherited from class org.opt4j.config.visualization.DefaultModulesPanel.UserNode
getTooltip
-
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, 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, setUserObject
-
-
-
-
Constructor Detail
-
CategoryTreeNode
public CategoryTreeNode(Class<?> clazz)
-
-
Method Detail
-
getType
public Class<?> getType()
- Specified by:
getType
in classDefaultModulesPanel.UserNode
-
toString
public String toString()
- Overrides:
toString
in classDefaultModulesPanel.UserNode
-
getIcon
public ImageIcon getIcon()
- Overrides:
getIcon
in classDefaultModulesPanel.UserNode
-
-