Skip navigation links


com.essbase.eas.admin.client.tree
Class UserNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.essbase.eas.ui.ctree.CTreeNode
          extended by com.essbase.eas.admin.client.tree.AdminTreeNode
              extended by com.essbase.eas.admin.client.tree.UserNode

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 UserNode
extends AdminTreeNode

Extends the CTreeNode class to implement some features specific to admin user objects.

Version:
1.00, 11/30/2000
Author:
Hung Vo
See Also:
Serialized Form

Field Summary

 

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

 

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

 

Constructor Summary
protected UserNode()
           
  UserNode(java.lang.Object userObject)
           
  UserNode(User user)
           

 

Method Summary
 java.awt.Component[] getActionMenuItems()
          returns the items that this object needs placed on the console's action menu.
 java.awt.Component[] getContextMenuItems()
           
 void handleDoubleClick()
          overrides the CTreeNode handleDoubleClick() method.
 void nodeRemoved()
           

 

Methods inherited from class com.essbase.eas.admin.client.tree.AdminTreeNode
nodeChanged, removeNodeFromParent, uninstallListeners

 

Methods inherited from class com.essbase.eas.ui.ctree.CTreeNode
add, addNodeAndNotify, addNodeAndNotify, addNodesAndNotify, addNodesSortedAndNotify, addNodesSortedAndNotify, addSortedChild, areChildrenCollated, broadcastNodeChanged, changeNodeIndex, clone, dispose, dragEnter, dragExit, dragOver, drop, dropActionChanged, getAllChildrenRemoved, getCaption, getChildForUserObject, getChildrenAsArray, getChildUserObjects, getChildUserObjectsAsList, getContextCaption, getContextInformation, getCustomViewEnabled, getCustomViewNode, getDraggable, getExpandedState, getIcon, getNotifyRemoveChildren, getPrintableObjects, getSortedChildIndex, getStartSortIndex, getToolTipText, getTransferData, getTransferDataFlavors, getTreeCellRendererComponent, getTreeModel, getUserObjectAs, handleDelete, handleExpand, initFlavors, insertNodeAndNotify, installListeners, isDataFlavorSupported, localizeMenuItems, personalizeMenuItems, personalizeMenuItems, personalizeMenuItems, personalizeMenuItems, remove, removeChildrenNodeAndNotify, removeNodeAndNotify, removeNodeAndNotify, removeNodeAndNotify, setAllChildrenRemoved, setCaption, setContextInformation, setCustomViewEnabled, setCustomViewNode, setExpandedState, setIcon, 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, insert, 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

UserNode

protected UserNode()

UserNode

public UserNode(java.lang.Object userObject)

UserNode

public UserNode(User user)

Method Detail

getContextMenuItems

public java.awt.Component[] getContextMenuItems()
Overrides:
getContextMenuItems 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

handleDoubleClick

public void handleDoubleClick()
overrides the CTreeNode handleDoubleClick() method. Requests the property window for the userObject of this node.
Overrides:
handleDoubleClick in class CTreeNode

nodeRemoved

public void nodeRemoved()
Overrides:
nodeRemoved in class AdminTreeNode

Skip navigation links


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