com.BobCo.snapins
Class ProgramGroupData

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended bycom.tivoli.twg.guilibs.UFTreeListViewObject
          extended bycom.BobCo.snapins.ProgramGroupData
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class ProgramGroupData
extends com.tivoli.twg.guilibs.UFTreeListViewObject

ProgramGroupData is used to represent a program group within a UFTreeListView. It inherits from the base UFTreeListViewObject and add CIM instance information to each node in the tree.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.tivoli.twg.guilibs.UFTreeListViewObject
DEFAULT_SORT_WEIGHT
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ProgramGroupData(java.lang.String text, javax.swing.ImageIcon image, com.tivoli.twg.cim.aCIMInstance cimInstance)
          Constructor for ProgramGroupData.
 
Method Summary
 com.tivoli.twg.cim.aCIMInstance getCIMInstance()
          Retrieve the CIM instance data for the program group.
 java.lang.String getFullName()
          Retrieve the full name of the program group.
 
Methods inherited from class com.tivoli.twg.guilibs.UFTreeListViewObject
compareCaption, getCaption, getCaptionBackgroundColor, getCaptionFont, getCaptionForegroundColor, getExpandedImage, getImage, getLargeExpandedImage, getLargeImage, getSortWeight, getStatusDefinitions, isASource, isATarget, isEnabled, isTargetable, resetViewProperties, setAsSource, setAsTarget, setAsTargetable, setCaption, setCaptionBackgroundColor, setCaptionFont, setCaptionForegroundColor, setEnabled, setExpandedImage, setImage, setLargeExpandedImage, setLargeImage, setSortWeight, setStatusDefinitions, toString, useExpandImage
 
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

ProgramGroupData

public ProgramGroupData(java.lang.String text,
                        javax.swing.ImageIcon image,
                        com.tivoli.twg.cim.aCIMInstance cimInstance)
Constructor for ProgramGroupData. After calling the inherited constructor, we save the CIM instance information in the object and shorten the name to be more user-friendly.

Parameters:
text - - full name of the program group
image - - icon image to display
cimInstance - - CIM instance data
Method Detail

getCIMInstance

public com.tivoli.twg.cim.aCIMInstance getCIMInstance()
Retrieve the CIM instance data for the program group.


getFullName

public java.lang.String getFullName()
Retrieve the full name of the program group.