qflib 0.98.1

de.qfs.lib.option
Class TreeOptionGroup.Node

java.lang.Object
  |
  +--de.qfs.lib.option.TreeOptionGroup.Node
Enclosing class:
TreeOptionGroup

protected class TreeOptionGroup.Node
extends java.lang.Object

These elements of the tree model are simple structures.


Field Summary
 java.util.Vector children
          The children of the node.
 OptionGroup group
          The OptionGroup of the Node.
 javax.swing.Icon icon
          The icon of the node that is displayed in the tree.
 java.lang.String name
          The name of the node that is displayed in the tree.
 TreeOptionGroup.Node parent
          The parent node.
 java.lang.String path
          The path name of the node.
 java.lang.String title
          The title fot the group display.
 
Constructor Summary
TreeOptionGroup.Node(java.lang.String path)
          Create a new Node.
 
Method Summary
 boolean isLeaf()
          Query whether the node is a leaf.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

public TreeOptionGroup.Node parent
The parent node.

path

public java.lang.String path
The path name of the node.

children

public java.util.Vector children
The children of the node.

name

public java.lang.String name
The name of the node that is displayed in the tree.

icon

public javax.swing.Icon icon
The icon of the node that is displayed in the tree.

title

public java.lang.String title
The title fot the group display.

group

public OptionGroup group
The OptionGroup of the Node.
Constructor Detail

TreeOptionGroup.Node

public TreeOptionGroup.Node(java.lang.String path)
Create a new Node. Fetch the parameters for the Node from the resources and create the children as well.
Parameters:
path - The path name of the node.
Method Detail

isLeaf

public boolean isLeaf()
Query whether the node is a leaf. Currently checks whether the node has children.
Returns:
True if the node has no children.

qflib 0.98.1