Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

dr.davmgr.swingview.dialogs.config
Class ConfigurationCategoriesTreeNode  view ConfigurationCategoriesTreeNode download ConfigurationCategoriesTreeNode.java

java.lang.Object
  extended bydr.davmgr.swingview.dialogs.config.ConfigurationCategoriesTreeNode
All Implemented Interfaces:
javax.swing.tree.TreeNode

class ConfigurationCategoriesTreeNode
extends java.lang.Object
implements javax.swing.tree.TreeNode


Field Summary
(package private)  java.util.Vector childs
           
(package private)  java.lang.String className
           
(package private)  javax.swing.tree.TreeNode parent
           
(package private)  java.lang.String resourcePath
           
(package private)  java.util.ResourceBundle resources
           
(package private)  java.lang.String title
           
(package private)  int x
           
(package private)  int y
           
 
Constructor Summary
ConfigurationCategoriesTreeNode(java.util.ResourceBundle resources, java.lang.String resourcePath)
           
ConfigurationCategoriesTreeNode(java.util.ResourceBundle resources, java.lang.String resourcePath, javax.swing.tree.TreeNode parent, int x, int y)
           
 
Method Summary
 java.util.Enumeration children()
          Returns an enumeration of the children of this node, or an empty enumeration if this node has no children.
 boolean getAllowsChildren()
          Returns true if this node allows children, and false otherwise.
 javax.swing.tree.TreeNode getChildAt(int index)
          Returns the child node at the given index.
 int getChildCount()
          Returns the number of children for this node.
 java.lang.String getClassName()
           
 int getIndex(javax.swing.tree.TreeNode node)
          Returns the index of the specified child node, or -1 if the node is not in fact a child of this node.
 javax.swing.tree.TreeNode getParent()
          Returns the parent node for this tree node, or null if this node has no parent.
private  java.lang.String getRes(java.lang.String key)
           
 boolean isLeaf()
          Returns true if this node is a leaf node, and false otherwise.
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

resources

java.util.ResourceBundle resources

resourcePath

java.lang.String resourcePath

parent

javax.swing.tree.TreeNode parent

x

int x

y

int y

childs

java.util.Vector childs

title

java.lang.String title

className

java.lang.String className
Constructor Detail

ConfigurationCategoriesTreeNode

public ConfigurationCategoriesTreeNode(java.util.ResourceBundle resources,
                                       java.lang.String resourcePath)

ConfigurationCategoriesTreeNode

public ConfigurationCategoriesTreeNode(java.util.ResourceBundle resources,
                                       java.lang.String resourcePath,
                                       javax.swing.tree.TreeNode parent,
                                       int x,
                                       int y)
Method Detail

getClassName

public java.lang.String getClassName()

getRes

private java.lang.String getRes(java.lang.String key)

children

public java.util.Enumeration children()
Description copied from interface: javax.swing.tree.TreeNode
Returns an enumeration of the children of this node, or an empty enumeration if this node has no children.

Specified by:
children in interface javax.swing.tree.TreeNode

getAllowsChildren

public boolean getAllowsChildren()
Description copied from interface: javax.swing.tree.TreeNode
Returns true if this node allows children, and false otherwise.

Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode

getChildAt

public javax.swing.tree.TreeNode getChildAt(int index)
Description copied from interface: javax.swing.tree.TreeNode
Returns the child node at the given index.

Specified by:
getChildAt in interface javax.swing.tree.TreeNode

getChildCount

public int getChildCount()
Description copied from interface: javax.swing.tree.TreeNode
Returns the number of children for this node.

Specified by:
getChildCount in interface javax.swing.tree.TreeNode

getIndex

public int getIndex(javax.swing.tree.TreeNode node)
Description copied from interface: javax.swing.tree.TreeNode
Returns the index of the specified child node, or -1 if the node is not in fact a child of this node.

Specified by:
getIndex in interface javax.swing.tree.TreeNode

getParent

public javax.swing.tree.TreeNode getParent()
Description copied from interface: javax.swing.tree.TreeNode
Returns the parent node for this tree node, or null if this node has no parent.

Specified by:
getParent in interface javax.swing.tree.TreeNode

isLeaf

public boolean isLeaf()
Description copied from interface: javax.swing.tree.TreeNode
Returns true if this node is a leaf node, and false otherwise.

Specified by:
isLeaf in interface javax.swing.tree.TreeNode

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).