IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.desktop
Class LeafTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended bycom.ibm.dse.desktop.TreeNode
          extended bycom.ibm.dse.desktop.LeafTreeNode
All Implemented Interfaces:
java.lang.Cloneable, DesktopComponent, javax.swing.tree.MutableTreeNode, java.io.Serializable, TaskLauncher, javax.swing.tree.TreeNode

public class LeafTreeNode
extends TreeNode
implements TaskLauncher

The LeafTreeNode class provides a leaf tree node.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
 
Fields inherited from class com.ibm.dse.desktop.TreeNode
aNodeData
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
LeafTreeNode()
          This constructor creates a LeafTreeNode object.
LeafTreeNode(java.lang.Object userObject)
          This constructor creates a LeafTreeNode object.
LeafTreeNode(java.lang.Object userObject, boolean allowsChildren)
          This constructor creates a LeafTreeNode object.
 
Method Summary
 java.lang.String getApplication()
          Gets the ID of the application related to the task described by the TaskLauncher.
 java.lang.String getCode()
          Gets the code of the task described by the LeafTreeNode.
 java.lang.String getErrorMessageOnInstantiateOperation()
          Gets the error message of the task described by the LeafTreeNode.
 java.lang.Boolean getExecuteOperation()
          Gets the executeOperation property of the LeafTreeNode.
 int getHeightNavigationArea()
          Gets the height of the navigation area of the task described by the LeafTreeNode.
 java.lang.String getLaunchable()
          Returns the name of the process/operation/application launched from the TaskLauncher.
 java.lang.String getLongDescription()
          Gets the long description of the task described by the LeafTreeNode.
 java.lang.String getOperation()
          Gets the ID of the operation related to the task described by the LeafTreeNode.
 java.lang.String getOperationPanel()
          Gets the name of the operation panel related to the task described by the LeafTreeNode.
 java.lang.String getParameters()
          Gets the parameters of the task described by the LeafTreeNode.
 java.lang.String getProcess()
          Gets the ID of the process related to the task described by the TaskLauncher.
 java.lang.String getShortDescription()
          Gets the short description of the task described by the LeafTreeNode.
 java.lang.String getTaskName()
          Gets the name of the task described by the LeafTreeNode.
 java.lang.String getTypeLaunchable()
          Gets the type of the task described by the TaskLauncherButton.
 int getWidthNavigationArea()
          Gets the width of the navigation area of the task described by the LeafTreeNode.
 int getXNavigationArea()
          Gets the X position of the navigation area of the task described by the LeafTreeNode.
 int getYNavigationArea()
          Gets the Y position of the navigation area of the task described by the LeafTreeNode.
 void openTask()
          Asks the Desktop to launch the task described by the LeafTreeNode.
 void setApplication(java.lang.Object o)
          Sets the ID of the operation related to the task described by the TaskLauncherButton.
 void setCode(java.lang.Object o)
          Sets the code of the task described by the LeafTreeNode.
 void setErrorMessageOnInstantiateOperation(java.lang.Object o)
          Sets the error message of the task described by the LeafTreeNode.
 void setExecuteOperation(java.lang.Object o)
          Sets the executeOperation property of the LeafTreeNode.
 void setHeightNavigationArea(java.lang.Object o)
          Sets the height property of the LeafTreeNode.
 void setLongDescription(java.lang.Object o)
          Sets the long description of the task described by the LeafTreeNode.
 void setOperation(java.lang.Object o)
          Sets the ID of the operation related to the task described by the LeafTreeNode.
 void setOperationPanel(java.lang.Object o)
          Sets the name of the operation panel related to the task described by the LeafTreeNode.
 void setParameters(java.lang.Object o)
          Sets the parameters of the task described by the LeafTreeNode.
 void setProcess(java.lang.Object o)
          Sets the ID of the process related to the task described by the TaskLauncherButton.
 void setShortDescription(java.lang.Object o)
          Sets the short description of the task described by the LeafTreeNode.
 void setTaskName(java.lang.Object o)
          Sets the name of the task described by the LeafTreeNode.
 void setTypeLaunchable(java.lang.String o)
          Sets the type of the task described by the TaskLauncherButton.
 void setWidthNavigationArea(java.lang.Object o)
          Sets the width property of the LeafTreeNode.
 void setXNavigationArea(java.lang.Object o)
          Sets the xNavigationArea property of the LeafTreeNode.
 void setYNavigationArea(java.lang.Object o)
          Sets the yNavigationArea property of the LeafTreeNode.
 java.lang.String toString()
          Returns a string representation of the LeafTreeNode.
 
Methods inherited from class com.ibm.dse.desktop.TreeNode
add, getTreeNodeData, setBackgroundNonSelectionColor, setBackgroundSelectionColor, setForegroundNonSelectionColor, setForegroundSelectionColor, setIconName, setLabel, setName, setToolTipText
 
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

LeafTreeNode

public LeafTreeNode()
This constructor creates a LeafTreeNode object.


LeafTreeNode

public LeafTreeNode(java.lang.Object userObject)
This constructor creates a LeafTreeNode object.

Parameters:
userObject - java.lang.Object

LeafTreeNode

public LeafTreeNode(java.lang.Object userObject,
                    boolean allowsChildren)
This constructor creates a LeafTreeNode object.

Parameters:
userObject - java.lang.Object
allowsChildren - boolean
Method Detail

getApplication

public java.lang.String getApplication()
Gets the ID of the application related to the task described by the TaskLauncher.

Specified by:
getApplication in interface TaskLauncher
Returns:
java.lang.String

getCode

public java.lang.String getCode()
Gets the code of the task described by the LeafTreeNode.

Specified by:
getCode in interface TaskLauncher
Returns:
java.lang.String

getErrorMessageOnInstantiateOperation

public java.lang.String getErrorMessageOnInstantiateOperation()
Gets the error message of the task described by the LeafTreeNode.

Specified by:
getErrorMessageOnInstantiateOperation in interface TaskLauncher
Returns:
java.lang.String

getExecuteOperation

public java.lang.Boolean getExecuteOperation()
Gets the executeOperation property of the LeafTreeNode.

Specified by:
getExecuteOperation in interface TaskLauncher
Returns:
boolean

getHeightNavigationArea

public int getHeightNavigationArea()
Gets the height of the navigation area of the task described by the LeafTreeNode.

Specified by:
getHeightNavigationArea in interface TaskLauncher
Returns:
int

getLaunchable

public java.lang.String getLaunchable()
Returns the name of the process/operation/application launched from the TaskLauncher.

Specified by:
getLaunchable in interface TaskLauncher

getLongDescription

public java.lang.String getLongDescription()
Gets the long description of the task described by the LeafTreeNode.

Specified by:
getLongDescription in interface TaskLauncher
Returns:
java.lang.String

getOperation

public java.lang.String getOperation()
Gets the ID of the operation related to the task described by the LeafTreeNode.

Specified by:
getOperation in interface TaskLauncher
Returns:
java.lang.String

getOperationPanel

public java.lang.String getOperationPanel()
Gets the name of the operation panel related to the task described by the LeafTreeNode.

Specified by:
getOperationPanel in interface TaskLauncher
Returns:
String

getParameters

public java.lang.String getParameters()
Gets the parameters of the task described by the LeafTreeNode.

Specified by:
getParameters in interface TaskLauncher
Returns:
java.lang.String

getProcess

public java.lang.String getProcess()
Gets the ID of the process related to the task described by the TaskLauncher.

Specified by:
getProcess in interface TaskLauncher
Returns:
java.lang.String

getShortDescription

public java.lang.String getShortDescription()
Gets the short description of the task described by the LeafTreeNode.

Specified by:
getShortDescription in interface TaskLauncher
Returns:
java.lang.String

getTaskName

public java.lang.String getTaskName()
Gets the name of the task described by the LeafTreeNode.

Specified by:
getTaskName in interface TaskLauncher
Returns:
java.lang.String

getTypeLaunchable

public java.lang.String getTypeLaunchable()
Gets the type of the task described by the TaskLauncherButton.

Specified by:
getTypeLaunchable in interface TaskLauncher
Returns:
int

getWidthNavigationArea

public int getWidthNavigationArea()
Gets the width of the navigation area of the task described by the LeafTreeNode.

Specified by:
getWidthNavigationArea in interface TaskLauncher
Returns:
int

getXNavigationArea

public int getXNavigationArea()
Gets the X position of the navigation area of the task described by the LeafTreeNode.

Specified by:
getXNavigationArea in interface TaskLauncher
Returns:
int

getYNavigationArea

public int getYNavigationArea()
Gets the Y position of the navigation area of the task described by the LeafTreeNode.

Specified by:
getYNavigationArea in interface TaskLauncher
Returns:
int

openTask

public void openTask()
Asks the Desktop to launch the task described by the LeafTreeNode.


setApplication

public void setApplication(java.lang.Object o)
Sets the ID of the operation related to the task described by the TaskLauncherButton.

Parameters:
o - java.lang.Object

setCode

public void setCode(java.lang.Object o)
Sets the code of the task described by the LeafTreeNode.

Parameters:
o - java.lang.Object

setErrorMessageOnInstantiateOperation

public void setErrorMessageOnInstantiateOperation(java.lang.Object o)
Sets the error message of the task described by the LeafTreeNode.

Parameters:
o - java.lang.Object

setExecuteOperation

public void setExecuteOperation(java.lang.Object o)
Sets the executeOperation property of the LeafTreeNode.


setHeightNavigationArea

public void setHeightNavigationArea(java.lang.Object o)
Sets the height property of the LeafTreeNode.

Parameters:
o - Object

setLongDescription

public void setLongDescription(java.lang.Object o)
Sets the long description of the task described by the LeafTreeNode.

Parameters:
o - java.lang.Object

setOperation

public void setOperation(java.lang.Object o)
Sets the ID of the operation related to the task described by the LeafTreeNode.

Parameters:
o - java.lang.Object

setOperationPanel

public void setOperationPanel(java.lang.Object o)
Sets the name of the operation panel related to the task described by the LeafTreeNode.

Parameters:
o - java.lang.Object

setParameters

public void setParameters(java.lang.Object o)
Sets the parameters of the task described by the LeafTreeNode.

Parameters:
o - java.lang.Object

setProcess

public void setProcess(java.lang.Object o)
Sets the ID of the process related to the task described by the TaskLauncherButton.

Parameters:
o - java.lang.Object

setShortDescription

public void setShortDescription(java.lang.Object o)
Sets the short description of the task described by the LeafTreeNode.

Parameters:
o - java.lang.Object

setTaskName

public void setTaskName(java.lang.Object o)
Sets the name of the task described by the LeafTreeNode.

Parameters:
o - java.lang.Object

setTypeLaunchable

public void setTypeLaunchable(java.lang.String o)
Sets the type of the task described by the TaskLauncherButton.

Parameters:
o - java.lang.Object

setWidthNavigationArea

public void setWidthNavigationArea(java.lang.Object o)
Sets the width property of the LeafTreeNode.

Parameters:
o - Object

setXNavigationArea

public void setXNavigationArea(java.lang.Object o)
Sets the xNavigationArea property of the LeafTreeNode.

Parameters:
o - Object

setYNavigationArea

public void setYNavigationArea(java.lang.Object o)
Sets the yNavigationArea property of the LeafTreeNode.

Parameters:
o - Object

toString

public java.lang.String toString()
Returns a string representation of the LeafTreeNode.

Returns:
java.lang.String

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005