SRJRCFrames
v0.1.296

de.schwarzrot.data
Class ResourceNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by de.schwarzrot.data.ResourceNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

public class ResourceNode
extends DefaultMutableTreeNode

TreeNode implementation to build a tree from help pages.

Author:
Reinhard Mantey
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ResourceNode(String path)
           
ResourceNode(String path, String name)
           
ResourceNode(String path, String name, boolean isDir)
           
 
Method Summary
 void dump()
           
 String getName()
           
 String getResPath()
           
 boolean isDir()
           
 void setDir(boolean dir)
           
 void setName(String name)
           
 void setResPath(String resPath)
           
 String 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceNode

public ResourceNode(String path)

ResourceNode

public ResourceNode(String path,
                    String name)

ResourceNode

public ResourceNode(String path,
                    String name,
                    boolean isDir)
Method Detail

dump

public void dump()

getName

public final String getName()

getResPath

public final String getResPath()

isDir

public final boolean isDir()

setDir

public final void setDir(boolean dir)

setName

public final void setName(String name)

setResPath

public final void setResPath(String resPath)

toString

public String toString()
Overrides:
toString in class DefaultMutableTreeNode

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.