public class MavenFileNode extends AbstractMavenNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| Constructor and Description |
|---|
MavenFileNode(Path file) |
| Modifier and Type | Method and Description |
|---|---|
Enumeration |
children() |
boolean |
getAllowsChildren() |
TreeNode |
getChildAt(int childIndex) |
int |
getChildCount() |
Path |
getFile() |
URL |
getFileUrl() |
Icon |
getIcon()
Returns the icon to display when displying the component
|
int |
getIndex(TreeNode node) |
String |
getValue() |
boolean |
isLeaf() |
compareTo, toStringadd, breadthFirstEnumeration, clone, depthFirstEnumeration, getChildAfter, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObjectpublic MavenFileNode(Path file)
public String getValue()
public Icon getIcon()
HasIconpublic TreeNode getChildAt(int childIndex)
getChildAt in interface TreeNodegetChildAt in class DefaultMutableTreeNodepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class DefaultMutableTreeNodepublic int getIndex(TreeNode node)
getIndex in interface TreeNodegetIndex in class DefaultMutableTreeNodepublic boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class DefaultMutableTreeNodepublic boolean isLeaf()
isLeaf in interface TreeNodeisLeaf in class DefaultMutableTreeNodepublic Enumeration children()
children in interface TreeNodechildren in class DefaultMutableTreeNodepublic Path getFile()
public URL getFileUrl()
Copyright © 2019. All rights reserved.