Skip navigation links


com.essbase.eas.essbase.ui.tree
Class ServersContainerNode

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

All Implemented Interfaces:
EASServerListener, FactoryListener, 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 ServersContainerNode
extends EssbaseTreeNode
implements FactoryListener, EASServerListener

Extends the CTreeNode class to implement some features specific to Essbase server objects.

Version:
1.00, 08/23/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
ServersContainerNode()
           
ServersContainerNode(java.lang.Object userObject)
           

 

Method Summary
 java.awt.Component[] getActionMenuItems()
          overrides CTreeNode.getActionMenuItems().
 java.awt.Component[] getContextMenuItems()
           
 void groupRefreshed(FactoryEvent e)
          implementation of the FactoryListener.groupRefreshed() method.
 boolean selectNodeFromProperties(java.util.Properties properties, java.lang.String key)
           
 void serverAdded(FactoryEvent e)
          implementation of the FactoryListener.serverAdded() method.
 void serverAdded(java.lang.String server, java.lang.String user)
           
 void ServerConnected(java.lang.String server)
           
 void serverDeleted(java.lang.String server, java.lang.String user)
           
 void ServerDisconnected(java.lang.String server)
           
 void ServerDisconnecting(java.lang.String server)
           
 void serverRemoved(FactoryEvent e)
          implementation of the FactoryListener.serverRemoved() method.
 void userRefreshed(FactoryEvent e)
          implementation of the FactoryListener.userRefreshed() 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, nodeRemoved, processNodeFromProperties, remove, removeNodeFromParent, setAutoHide, setContextInformation, setIcon, setIcon, setParentNode, showNode, showNode, uninstallListeners

 

Methods inherited from class com.essbase.eas.ui.ctree.CTreeNode
addNodeAndNotify, addNodeAndNotify, addNodesAndNotify, addNodesSortedAndNotify, addNodesSortedAndNotify, addSortedChild, areChildrenCollated, 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, installListeners, 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, willExpand

 

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

ServersContainerNode

public ServersContainerNode()

ServersContainerNode

public ServersContainerNode(java.lang.Object userObject)

Method Detail

getContextMenuItems

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

getActionMenuItems

public java.awt.Component[] getActionMenuItems()
overrides CTreeNode.getActionMenuItems(). Returns the menu items that need to be displayed in the action menu.
Overrides:
getActionMenuItems in class CTreeNode

serverAdded

public void serverAdded(java.lang.String server,
                        java.lang.String user)

serverDeleted

public void serverDeleted(java.lang.String server,
                          java.lang.String user)

serverAdded

public void serverAdded(FactoryEvent e)
implementation of the FactoryListener.serverAdded() method.
Specified by:
serverAdded in interface FactoryListener

serverRemoved

public void serverRemoved(FactoryEvent e)
implementation of the FactoryListener.serverRemoved() method.
Specified by:
serverRemoved in interface FactoryListener

userRefreshed

public void userRefreshed(FactoryEvent e)
implementation of the FactoryListener.userRefreshed() method.
Specified by:
userRefreshed in interface FactoryListener

groupRefreshed

public void groupRefreshed(FactoryEvent e)
implementation of the FactoryListener.groupRefreshed() method.
Specified by:
groupRefreshed in interface FactoryListener

ServerConnected

public void ServerConnected(java.lang.String server)
Specified by:
ServerConnected in interface EASServerListener

ServerDisconnecting

public void ServerDisconnecting(java.lang.String server)
Specified by:
ServerDisconnecting in interface EASServerListener

ServerDisconnected

public void ServerDisconnected(java.lang.String server)
Specified by:
ServerDisconnected in interface EASServerListener

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.