Package slash.navigation.routes.impl
Class CategoryTreeNodeImpl
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
slash.navigation.routes.impl.CategoryTreeNodeImpl
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode,CategoryTreeNode
- Author:
- Christian Pesch
- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject -
Constructor Summary
ConstructorsConstructorDescriptionCategoryTreeNodeImpl(Category category) CategoryTreeNodeImpl(Category category, boolean localRoot, boolean remoteRoot) -
Method Summary
Modifier and TypeMethodDescriptionchildren()getChildAt(int idx) intintgetName()booleanisLocal()booleanbooleanisRemote()booleanMethods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildBefore, getDepth, getFirstChild, getFirstLeaf, 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, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.swing.tree.MutableTreeNode
insert, remove, remove, removeFromParent, setParent, setUserObjectMethods inherited from interface javax.swing.tree.TreeNode
getAllowsChildren, getParent, isLeaf
-
Constructor Details
-
Method Details
-
getChildCount
public int getChildCount()- Specified by:
getChildCountin interfaceTreeNode- Overrides:
getChildCountin classDefaultMutableTreeNode
-
getChildAt
- Specified by:
getChildAtin interfaceTreeNode- Overrides:
getChildAtin classDefaultMutableTreeNode
-
getIndex
- Specified by:
getIndexin interfaceTreeNode- Overrides:
getIndexin classDefaultMutableTreeNode
-
children
- Specified by:
childrenin interfaceTreeNode- Overrides:
childrenin classDefaultMutableTreeNode
-
getCategory
- Specified by:
getCategoryin interfaceCategoryTreeNode
-
isLocalRoot
public boolean isLocalRoot()- Specified by:
isLocalRootin interfaceCategoryTreeNode
-
isLocal
public boolean isLocal()- Specified by:
isLocalin interfaceCategoryTreeNode
-
isRemoteRoot
public boolean isRemoteRoot()- Specified by:
isRemoteRootin interfaceCategoryTreeNode
-
isRemote
public boolean isRemote()- Specified by:
isRemotein interfaceCategoryTreeNode
-
getName
- Specified by:
getNamein interfaceCategoryTreeNode
-
getRoutes
- Specified by:
getRoutesin interfaceCategoryTreeNode
-