org.openbp.cockpit.generator.wizard
Class GeneratorNode

java.lang.Object
  extended by org.openbp.swing.components.treetable.DefaultTreeTableNode
      extended by org.openbp.cockpit.generator.wizard.GeneratorNode
All Implemented Interfaces:
javax.swing.tree.TreeNode, TreeTableNode

public class GeneratorNode
extends DefaultTreeTableNode

The tree table node of the context inspector.

Author:
Heiko Erhardt

Field Summary
 
Fields inherited from class org.openbp.swing.components.treetable.DefaultTreeTableNode
children, columnObjects, EMPTY_COLUMN, parent, preferredSize
 
Constructor Summary
protected GeneratorNode()
          Root node constructor.
protected GeneratorNode(Generator generator)
          Leaf node constructor.
protected GeneratorNode(java.lang.String group)
          Group node constructor.
 
Method Summary
 java.lang.Object getColumnValue(int columnIndex)
           
 Generator getGenerator()
          Gets the generator (for leaf nodes).
 java.lang.String getGroup()
          Gets the functional group (for group nodes).
 java.lang.String getNodeText()
           
 void setGenerator(Generator generator)
          Sets the generator (for leaf nodes).
 void setGroup(java.lang.String group)
          Sets the functional group (for group nodes).
 
Methods inherited from class org.openbp.swing.components.treetable.DefaultTreeTableNode
addChild, addColumn, children, getAllowsChildren, getChildAt, getChildCount, getColumnCount, getIndex, getLastHeight, getParent, getPreferredSize, insertChild, isLeaf, removeChild, removeChildren, removeColumn, setColumnValue, setLastHeight, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratorNode

protected GeneratorNode()
Root node constructor.


GeneratorNode

protected GeneratorNode(java.lang.String group)
Group node constructor.

Parameters:
group - Functional group (for group nodes)

GeneratorNode

protected GeneratorNode(Generator generator)
Leaf node constructor.

Parameters:
generator - Context path
Method Detail

getGenerator

public Generator getGenerator()
Gets the generator (for leaf nodes).


setGenerator

public void setGenerator(Generator generator)
Sets the generator (for leaf nodes).


getGroup

public java.lang.String getGroup()
Gets the functional group (for group nodes).


setGroup

public void setGroup(java.lang.String group)
Sets the functional group (for group nodes).


getNodeText

public java.lang.String getNodeText()
Specified by:
getNodeText in interface TreeTableNode
Overrides:
getNodeText in class DefaultTreeTableNode
See Also:
TreeTableNode.getNodeText()

getColumnValue

public java.lang.Object getColumnValue(int columnIndex)
Specified by:
getColumnValue in interface TreeTableNode
Overrides:
getColumnValue in class DefaultTreeTableNode
See Also:
TreeTableNode.getColumnValue(int)


Copyright © 2011. All Rights Reserved.