Skip navigation links


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

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.DatabaseTreeNode

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 DatabaseTreeNode
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.

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

 

Method Summary
 boolean copyObject(Server destServer, java.lang.String appName, boolean replace)
           
protected  void installListener(java.awt.event.ActionListener actionListener)
           
 void setMigrationOption(AppMigration node)
           
 void setReplaceTarget(boolean value)
           
 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

DatabaseTreeNode

public DatabaseTreeNode()

DatabaseTreeNode

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

DatabaseTreeNode

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

DatabaseTreeNode

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

Method Detail

installListener

protected void installListener(java.awt.event.ActionListener actionListener)

setReplaceTarget

public void setReplaceTarget(boolean value)

copyObject

public boolean copyObject(Server destServer,
                          java.lang.String appName,
                          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.