org.openbp.jaspira.propertybrowser.nodes
Class GroupNode

java.lang.Object
  extended by org.openbp.jaspira.propertybrowser.nodes.AbstractNode
      extended by org.openbp.jaspira.propertybrowser.nodes.GroupNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.TreeNode, Copyable, TreeTableNode

public class GroupNode
extends AbstractNode

Property browser tree node that reflects a group node of a property group as specified in the object descriptor.

Author:
Erich Lauterbach

Field Summary
 
Fields inherited from class org.openbp.jaspira.propertybrowser.nodes.AbstractNode
children, object, parentNode, propertyBrowser
 
Fields inherited from interface org.openbp.common.generic.Copyable
COPY_DEEP, COPY_FIRST_LEVEL, COPY_SHALLOW
 
Constructor Summary
GroupNode(java.lang.String groupName)
          Default constructor
 
Method Summary
 java.lang.Object getColumnValue(int columnIndex)
          Returns the column value for specified column index.
 java.lang.String getGroupName()
          Gets the the name of the group.
 java.lang.String getNodeText()
           
 boolean isLeaf()
          Returns true if the receiver is a leaf.
 boolean representsProperty(java.lang.String propertyName)
          Checks if this node represents the given property.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class org.openbp.jaspira.propertybrowser.nodes.AbstractNode
add, add, children, clone, copyFrom, filterPropertyNodes, findNodeForProperty, getAllowsChildren, getAssociatedCollectionNode, getChildAt, getChildCount, getIndex, getLastHeight, getObject, getObjectNode, getParent, getPreferredSize, getPropertyBrowser, getPropertyNodes, reload, reloadProperty, remove, setLastHeight, setObject, setParent, setPropertyBrowser, shouldExpand
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupNode

public GroupNode(java.lang.String groupName)
Default constructor

Parameters:
groupName - Name of the group (functional name)
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object

getColumnValue

public java.lang.Object getColumnValue(int columnIndex)
Returns the column value for specified column index.

Parameters:
columnIndex - The of the column object to be returned
Returns:
The column value as an object

getNodeText

public java.lang.String getNodeText()

isLeaf

public boolean isLeaf()
Description copied from class: AbstractNode
Returns true if the receiver is a leaf.

Specified by:
isLeaf in interface javax.swing.tree.TreeNode
Overrides:
isLeaf in class AbstractNode

representsProperty

public boolean representsProperty(java.lang.String propertyName)
Checks if this node represents the given property.

Overrides:
representsProperty in class AbstractNode
Parameters:
propertyName - Name of the property to check

getGroupName

public java.lang.String getGroupName()
Gets the the name of the group.



Copyright © 2011. All Rights Reserved.