Package org.opt4j.config.visualization
Class DefaultModulesPanel.ModuleTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- org.opt4j.config.visualization.DefaultModulesPanel.UserNode
-
- org.opt4j.config.visualization.DefaultModulesPanel.ModuleTreeNode
-
- All Implemented Interfaces:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
- Enclosing class:
- DefaultModulesPanel
protected class DefaultModulesPanel.ModuleTreeNode extends DefaultModulesPanel.UserNode
TheDefaultModulesPanel.ModuleTreeNode
is used for nodes that represent modules.- 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 ModuleTreeNode(Class<? extends com.google.inject.Module> module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyModule
getModule()
Class<?>
getType()
-
Methods inherited from class org.opt4j.config.visualization.DefaultModulesPanel.UserNode
getIcon, getTooltip, toString
-
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
-
ModuleTreeNode
public ModuleTreeNode(Class<? extends com.google.inject.Module> module)
-
-
Method Detail
-
getModule
public PropertyModule getModule()
-
getType
public Class<?> getType()
- Specified by:
getType
in classDefaultModulesPanel.UserNode
-
-