Skip navigation links


com.essbase.eas.essbase.ui.tree
Class DatabasesContainerNode

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

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
Direct Known Subclasses:
ASODatabasesContainerNode

public class DatabasesContainerNode
extends EssbaseTreeNode

Extends the CTreeNode class.

Version:
1.00, 07/25/2000
Author:
Hank Cox
See Also:
Serialized Form

Field Summary
protected static java.lang.String captionKey
           
protected  javax.swing.JMenuItem create
           
protected static java.lang.String CREATE_KEY
           
protected  javax.swing.AbstractAction createAction
           
protected  CMenuItem createActionItem
           
protected  boolean created
           
protected  javax.swing.JMenuItem delete
           
protected static java.lang.String DELETE_KEY
           
protected  javax.swing.AbstractAction deleteAction
           
protected  CMenuItem deleteActionItem
           
protected  javax.swing.JMenuItem properties
           
protected static java.lang.String PROPERTIES_KEY
           
protected  javax.swing.AbstractAction propertiesAction
           
protected  CMenuItem propertiesActionItem
           
protected  javax.swing.JMenuItem refresh
           
protected static java.lang.String REFRESH_KEY
           
protected  javax.swing.AbstractAction refreshAction
           
protected  CMenuItem refreshActionItem
           
protected  javax.swing.JSeparator separator_3
           
protected  javax.swing.JMenuItem start
           
protected static java.lang.String START_KEY
           
protected  javax.swing.AbstractAction startAction
           
protected  CMenuItem startActionItem
           
protected  javax.swing.JMenuItem stop
           
protected static java.lang.String STOP_KEY
           
protected  javax.swing.AbstractAction stopAction
           
protected  CMenuItem stopActionItem
           

 

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
DatabasesContainerNode()
           
DatabasesContainerNode(java.lang.Object userObject)
           

 

Method Summary
protected  void addDatabaseNode(java.lang.Object obj)
           
protected  void addDatabasesNode(java.lang.Object[] dbs)
           
 boolean areChildrenCollated()
           
 void dragOver(java.awt.dnd.DropTargetDragEvent dtde)
          implementation of the DropTargetListener.dragOver() method.
 void drop(java.awt.dnd.DropTargetDropEvent dtde)
          implementation of the DropTargetListener.drop() method.
 java.awt.Component[] getActionMenuItems()
          returns the items that this object needs placed on the console's action menu.
protected  java.lang.Class getChildNodeClass()
           
 java.awt.Component[] getContextMenuItems()
           
protected  DatabaseTreeNode getDatabaseTreeNode(Database obj)
           
 void installListeners()
           
protected  java.awt.datatransfer.DataFlavor isGoodDropEvent(int dropAction, java.awt.datatransfer.DataFlavor[] flavors)
          determines whether a drop event is one that the DatabasesContainerNode understands.
 void nodeRemoved()
           
 void uninstallListeners()
           
 void willExpand()
           

 

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, selectNodeFromProperties, 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, 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

 

Field Detail

captionKey

protected static java.lang.String captionKey

PROPERTIES_KEY

protected static final java.lang.String PROPERTIES_KEY
See Also:
Constant Field Values

CREATE_KEY

protected static final java.lang.String CREATE_KEY
See Also:
Constant Field Values

START_KEY

protected static final java.lang.String START_KEY
See Also:
Constant Field Values

STOP_KEY

protected static final java.lang.String STOP_KEY
See Also:
Constant Field Values

DELETE_KEY

protected static final java.lang.String DELETE_KEY
See Also:
Constant Field Values

REFRESH_KEY

protected static final java.lang.String REFRESH_KEY
See Also:
Constant Field Values

properties

protected javax.swing.JMenuItem properties

create

protected javax.swing.JMenuItem create

start

protected javax.swing.JMenuItem start

stop

protected javax.swing.JMenuItem stop

delete

protected javax.swing.JMenuItem delete

refresh

protected javax.swing.JMenuItem refresh

separator_3

protected javax.swing.JSeparator separator_3

created

protected boolean created

startAction

protected javax.swing.AbstractAction startAction

stopAction

protected javax.swing.AbstractAction stopAction

deleteAction

protected javax.swing.AbstractAction deleteAction

refreshAction

protected javax.swing.AbstractAction refreshAction

createAction

protected javax.swing.AbstractAction createAction

propertiesAction

protected javax.swing.AbstractAction propertiesAction

startActionItem

protected CMenuItem startActionItem

stopActionItem

protected CMenuItem stopActionItem

deleteActionItem

protected CMenuItem deleteActionItem

refreshActionItem

protected CMenuItem refreshActionItem

createActionItem

protected CMenuItem createActionItem

propertiesActionItem

protected CMenuItem propertiesActionItem

Constructor Detail

DatabasesContainerNode

public DatabasesContainerNode()

DatabasesContainerNode

public DatabasesContainerNode(java.lang.Object userObject)

Method Detail

addDatabaseNode

protected void addDatabaseNode(java.lang.Object obj)

addDatabasesNode

protected void addDatabasesNode(java.lang.Object[] dbs)

willExpand

public void willExpand()
Overrides:
willExpand in class CTreeNode

getChildNodeClass

protected java.lang.Class getChildNodeClass()

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

isGoodDropEvent

protected java.awt.datatransfer.DataFlavor isGoodDropEvent(int dropAction,
                                                           java.awt.datatransfer.DataFlavor[] flavors)
determines whether a drop event is one that the DatabasesContainerNode understands.

dragOver

public void dragOver(java.awt.dnd.DropTargetDragEvent dtde)
implementation of the DropTargetListener.dragOver() method.
Specified by:
dragOver in interface java.awt.dnd.DropTargetListener
Overrides:
dragOver in class CTreeNode

drop

public void drop(java.awt.dnd.DropTargetDropEvent dtde)
implementation of the DropTargetListener.drop() method.
Specified by:
drop in interface java.awt.dnd.DropTargetListener
Overrides:
drop in class CTreeNode

areChildrenCollated

public boolean areChildrenCollated()
Overrides:
areChildrenCollated in class CTreeNode

installListeners

public void installListeners()
Overrides:
installListeners in class CTreeNode

uninstallListeners

public void uninstallListeners()
Overrides:
uninstallListeners in class EssbaseTreeNode

getDatabaseTreeNode

protected DatabaseTreeNode getDatabaseTreeNode(Database obj)

nodeRemoved

public void nodeRemoved()
Overrides:
nodeRemoved in class EssbaseTreeNode

Skip navigation links


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