Skip navigation links


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

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.WizardTreeCheckBoxNode
                  extended by com.essbase.eas.essbase.ui.wizards.tree.MacrosContainerNode

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 MacrosContainerNode
extends WizardTreeCheckBoxNode

Extends the PTreeCheckBoxNode mainly so we can use a renderer to draw icon relative to the Essbase object that this tree node represents. The expansion of this node is dynamically handled.

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
MacrosContainerNode()
           
MacrosContainerNode(java.lang.Object userObject, boolean allowsChildren, java.lang.String caption)
           
MacrosContainerNode(java.lang.Object userObject, java.lang.String caption, boolean allowsChildren)
           
MacrosContainerNode(java.lang.Object userObject, java.lang.String caption, boolean allowsChildren, int nTag, javax.swing.Icon icon)
           
MacrosContainerNode(java.lang.Object userObject, java.lang.String caption, boolean allowsChildren, int nTag, javax.swing.Icon icon, boolean selected)
           

 

Method Summary
static boolean copyAllObjects(java.lang.Object userObject, Server destServer, java.lang.String destAppName, boolean replace)
           
 boolean copyObject(Server destServer, java.lang.String destAppName, boolean replace)
           
 void setMigrationOption(AppMigration node)
           
 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

MacrosContainerNode

public MacrosContainerNode()

MacrosContainerNode

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

MacrosContainerNode

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

MacrosContainerNode

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

MacrosContainerNode

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

Method Detail

copyObject

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

copyAllObjects

public static boolean copyAllObjects(java.lang.Object userObject,
                                     Server destServer,
                                     java.lang.String destAppName,
                                     boolean replace)

willExpand

public void willExpand()
Overrides:
willExpand in class PTreeCheckBoxNode

setMigrationOption

public void setMigrationOption(AppMigration node)

Skip navigation links


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