Skip navigation links


com.essbase.eas.essbase.ui.tree
Class ApplicationsContainerNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.essbase.eas.ui.ctree.CTreeNode
          extended by com.essbase.eas.essbase.ui.tree.EssbaseTreeNode
              extended by com.essbase.eas.essbase.ui.tree.ApplicationsContainerNode

All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.awt.dnd.DropTargetListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class ApplicationsContainerNode
extends EssbaseTreeNode

Extends the CTreeNode class.

Notes:

07/25/2000, hcox: Much of this is hard-coded for the moment.

Version:
1.00, 08/22/2000
Author:
Hank Cox
See Also:
Serialized Form

Field Summary

 

Fields inherited from class com.essbase.eas.essbase.ui.tree.EssbaseTreeNode
autoHide, bundle, collapseAction, context, expanded, parentNode, server

 

Fields inherited from class com.essbase.eas.ui.ctree.CTreeNode
actionMenuItems, allChildrenRemoved, caption, contextMenuItems, customViewEnabled, customViewNode, draggable, EMPTY_NODES, flavors, icon, notifyChildRemoval, startSortIndex, toolTipText

 

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

 

Constructor Summary
ApplicationsContainerNode()
           
ApplicationsContainerNode(java.lang.Object userObject)
           

 

Method Summary
protected  void addApplicationNode(java.lang.Object obj)
          adds nodes for applications ...
protected  void addApplicationsNode(java.lang.Object[] apps)
           
 boolean areChildrenCollated()
           
 java.awt.Component[] getActionMenuItems()
          returns the items that this object needs placed on the console's action menu.
protected  ApplicationTreeNode getApplicationNode(Application app)
           
 java.awt.Component[] getContextMenuItems()
           
protected  void installListeners()
           
 void nodeRemoved()
           
 boolean selectNodeFromProperties(java.util.Properties properties, java.lang.String key)
           
protected  void uninstallListeners()
           
 void willExpand()
          overrides the JTreeNode willExpand() method.

 

Methods inherited from class com.essbase.eas.essbase.ui.tree.EssbaseTreeNode
add, collpaseBranch, collpaseBranch, expandBranch, expandBranch, getApplication, getCollpaseMenuItem, getCollpaseMenuItem, getContextCaption, getContextInformation, getDatabase, getExpandMenuItem, getExpandMenuItem, getFilter, getProperEventSource, getProperEventSource, getServer, getSourceNode, insert, isConnected, isServerContextValid, processNodeFromProperties, remove, removeNodeFromParent, setAutoHide, setContextInformation, setIcon, setIcon, setParentNode, showNode, showNode

 

Methods inherited from class com.essbase.eas.ui.ctree.CTreeNode
addNodeAndNotify, addNodeAndNotify, addNodesAndNotify, addNodesSortedAndNotify, addNodesSortedAndNotify, addSortedChild, broadcastNodeChanged, changeNodeIndex, clone, dispose, dragEnter, dragExit, dragOver, drop, dropActionChanged, getAllChildrenRemoved, getCaption, getChildForUserObject, getChildrenAsArray, getChildUserObjects, getChildUserObjectsAsList, getCustomViewEnabled, getCustomViewNode, getDraggable, getExpandedState, getIcon, getNotifyRemoveChildren, getPrintableObjects, getSortedChildIndex, getStartSortIndex, getToolTipText, getTransferData, getTransferDataFlavors, getTreeCellRendererComponent, getTreeModel, getUserObjectAs, handleDelete, handleDoubleClick, handleExpand, initFlavors, insertNodeAndNotify, isDataFlavorSupported, localizeMenuItems, personalizeMenuItems, personalizeMenuItems, personalizeMenuItems, personalizeMenuItems, removeChildrenNodeAndNotify, removeNodeAndNotify, removeNodeAndNotify, removeNodeAndNotify, setAllChildrenRemoved, setCaption, setCustomViewEnabled, setCustomViewNode, setExpandedState, setIcon, setIcon, setNotifyRemoveChildren, setNotifyRemoveChildren, setSortingIndex, setToolTipText, setUserObject, sortNodes, toString, updateChildOrder, updateChildrenToMatch, updateChildrenToMatch, updateNode

 

Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
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, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent

 

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

 

Constructor Detail

ApplicationsContainerNode

public ApplicationsContainerNode()

ApplicationsContainerNode

public ApplicationsContainerNode(java.lang.Object userObject)

Method Detail

addApplicationNode

protected void addApplicationNode(java.lang.Object obj)
adds nodes for applications ...

addApplicationsNode

protected void addApplicationsNode(java.lang.Object[] apps)

willExpand

public void willExpand()
overrides the JTreeNode willExpand() method. Retrieves an array of Application objects from the ObjectFactory and adds child nodes for any application for which a child node doesn't already exist.
Overrides:
willExpand in class CTreeNode

getActionMenuItems

public java.awt.Component[] getActionMenuItems()
Description copied from class: CTreeNode
returns the items that this object needs placed on the console's action menu. All of the items should be CMenuItem objects. Any derived class should override this method.
Overrides:
getActionMenuItems in class CTreeNode

getContextMenuItems

public java.awt.Component[] getContextMenuItems()
Overrides:
getContextMenuItems in class CTreeNode

areChildrenCollated

public boolean areChildrenCollated()
Overrides:
areChildrenCollated in class CTreeNode

installListeners

protected void installListeners()
Overrides:
installListeners in class CTreeNode

uninstallListeners

protected void uninstallListeners()
Overrides:
uninstallListeners in class EssbaseTreeNode

getApplicationNode

protected ApplicationTreeNode getApplicationNode(Application app)

nodeRemoved

public void nodeRemoved()
Overrides:
nodeRemoved in class EssbaseTreeNode

selectNodeFromProperties

public boolean selectNodeFromProperties(java.util.Properties properties,
                                        java.lang.String key)
Overrides:
selectNodeFromProperties in class EssbaseTreeNode

Skip navigation links


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