Skip navigation links


com.essbase.eas.essbase.ui.wizards.tree
Class ApplicationTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.essbase.eas.ui.ptree.PTreeNode
          extended by com.essbase.eas.ui.ptree.PTreeCheckBoxNode
              extended by com.essbase.eas.essbase.ui.wizards.tree.ApplicationTreeNode

All Implemented Interfaces:
PrintableObject, java.awt.event.ActionListener, java.awt.event.ItemListener, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.event.DocumentListener, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class ApplicationTreeNode
extends PTreeCheckBoxNode

Extends the PTreeCheckBoxNode mainly so we can use a renderer to draw icon relative to the Essbase object that this tree node represents.

Version:
1.00, 3/20/2001
Author:
Namita Varma
See Also:
Serialized Form

Field Summary

 

Fields inherited from class com.essbase.eas.ui.ptree.PTreeCheckBoxNode
checkBox, expanded, nodeSelected, nodeTag, updatePeer

 

Fields inherited from class com.essbase.eas.ui.ptree.PTreeNode
bundle, cancelAction, caption, editable, editValue, enabled, enableRemoval, enterAction, icon, keyAdapter, nodeObject, tipText

 

Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject

 

Constructor Summary
ApplicationTreeNode()
           
ApplicationTreeNode(java.lang.Object userObject, boolean allowsChildren, java.lang.String caption)
           
ApplicationTreeNode(java.lang.Object userObject, java.lang.String caption, boolean allowsChildren)
           
ApplicationTreeNode(java.lang.Object userObject, java.lang.String caption, boolean allowsChildren, int nTag, javax.swing.Icon icon)
           

 

Method Summary
 void collapseOccured()
           
 boolean copyObject(Server destServer, java.lang.String appName)
           
 boolean copyObject(Server destServer, java.lang.String appName, boolean replace)
           
protected  PTreeCheckBoxNode[] getChildrenAsArray()
           
 boolean setMigrationOptions(java.lang.Object node, AppMigration migration)
           
 void willExpand()
           

 

Methods inherited from class com.essbase.eas.ui.ptree.PTreeCheckBoxNode
actionPerformed, cancelEditing, createCheckBox, drawObject, editNode, endEditing, getCheckBox, getCheckBoxState, getEditingValue, getHeight, getPrintableObjects, getTreeCellRendererComponent, installListeners, isSelected, nodeRemoved, setCheckBoxState, setSelected, setUpdatePeer, uninstallListeners, updatePeerCheckBoxState

 

Methods inherited from class com.essbase.eas.ui.ptree.PTreeNode
addAction, addAndNotify, addNodesAndNotify, addSortedChild, addSortedChild, changedUpdate, clone, drawText, drawText, drawText, drawText, getCaption, getChildForUserObject, getContextMenuItems, getEditText, getIcon, getLabel, getNodeObject, getToolTipText, getTree, getWidth, handleClick, handleDoubleClick, handleRightClick, insertUpdate, installListeners, isEditable, isEnabled, itemStateChanged, nodeChanged, paintCheckIcon, paintIcon, paintRadioIcon, propertyChange, remove, removeAction, removeAllChildren, removeAndNotify, removeUpdate, setCaption, setChildrenEnabled, setDescendantsEnabled, setEditable, setEditingValue, setEnabled, setEnableRemoval, setIcon, setNodeObject, setTipText, setTree, setUserObject, toString, uninstallListeners

 

Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, 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, removeFromParent, setAllowsChildren, setParent

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ApplicationTreeNode

public ApplicationTreeNode()

ApplicationTreeNode

public ApplicationTreeNode(java.lang.Object userObject,
                           boolean allowsChildren,
                           java.lang.String caption)

ApplicationTreeNode

public ApplicationTreeNode(java.lang.Object userObject,
                           java.lang.String caption,
                           boolean allowsChildren)

ApplicationTreeNode

public ApplicationTreeNode(java.lang.Object userObject,
                           java.lang.String caption,
                           boolean allowsChildren,
                           int nTag,
                           javax.swing.Icon icon)

Method Detail

collapseOccured

public void collapseOccured()

getChildrenAsArray

protected PTreeCheckBoxNode[] getChildrenAsArray()

copyObject

public boolean copyObject(Server destServer,
                          java.lang.String appName)

copyObject

public boolean copyObject(Server destServer,
                          java.lang.String appName,
                          boolean replace)

setMigrationOptions

public boolean setMigrationOptions(java.lang.Object node,
                                   AppMigration migration)

willExpand

public void willExpand()
Overrides:
willExpand in class PTreeCheckBoxNode

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.