Skip navigation links


com.essbase.eas.essbase.ui.tree
Class ApplicationTreeNode

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

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:
ASOApplicationTreeNode

public class ApplicationTreeNode
extends EssbaseTreeNode

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

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

Field Summary
protected  ApplicationAdapter appAdapter
           
protected  CalcScriptsContainerNode calcsNode
           
protected static java.lang.String captionKey
           
protected  ReportScriptsContainerNode rptsNode
           
protected  RulesObjectsContainerNode rulesNode
           
protected  ServerAdapter serverAdapter
           

 

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

 

Method Summary
protected  void addCalcscriptNode()
           
protected  void addDatabaseContainerNode()
           
protected  void addDatabaseNode(java.lang.Object obj)
           
protected  void addDatabasesNode(java.lang.Object[] dbs)
           
protected  void addRptscriptNode()
           
protected  void addRulesNode()
           
protected  void applicationRenamed(Application app)
           
 boolean canStart()
           
 java.lang.Object clone()
           
protected  void createStaticNodes()
           
 java.awt.Component[] getActionMenuItems()
          returns the items that this object needs placed on the console's action menu.
 java.lang.String getContextCaption()
           
 java.lang.String[][] getContextInformation()
          returns the context information for this application tree node.
 java.awt.Component[] getContextMenuItems()
           
 java.lang.Class getDatabaseNodeClass()
           
protected  DatabaseTreeNode getDatabaseTreeNode(Database obj)
           
protected  int getStartSortIndex()
           
 void handleDelete()
           
protected  void installListeners()
           
 boolean selectNodeFromProperties(java.util.Properties properties, java.lang.String key)
           
 boolean setContextInformation(java.lang.String[][] context)
          sets the context information for this application object.
 void setUserObject(java.lang.Object userObject)
           
protected  void showNode(EssbaseTreeNode node)
           
protected  void uninstallListeners()
           
 boolean updateChildOrder(CTreeNode node)
          Updates the node order for the child node.
 void updateNodeIcon()
           
 void willExpand()
           

 

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

 

Methods inherited from class com.essbase.eas.ui.ctree.CTreeNode
addNodeAndNotify, addNodeAndNotify, addNodesAndNotify, addNodesSortedAndNotify, addNodesSortedAndNotify, addSortedChild, areChildrenCollated, broadcastNodeChanged, changeNodeIndex, dispose, dragEnter, dragExit, dragOver, drop, dropActionChanged, getAllChildrenRemoved, getCaption, getChildForUserObject, getChildrenAsArray, getChildUserObjects, getChildUserObjectsAsList, getCustomViewEnabled, getCustomViewNode, getDraggable, getExpandedState, getIcon, getNotifyRemoveChildren, getPrintableObjects, getSortedChildIndex, getToolTipText, getTransferData, getTransferDataFlavors, getTreeCellRendererComponent, getTreeModel, getUserObjectAs, 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, sortNodes, toString, 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

appAdapter

protected ApplicationAdapter appAdapter

serverAdapter

protected ServerAdapter serverAdapter

calcsNode

protected CalcScriptsContainerNode calcsNode

rptsNode

protected ReportScriptsContainerNode rptsNode

rulesNode

protected RulesObjectsContainerNode rulesNode

Constructor Detail

ApplicationTreeNode

public ApplicationTreeNode()

ApplicationTreeNode

public ApplicationTreeNode(java.lang.Object userObject)

Method Detail

addDatabaseNode

protected void addDatabaseNode(java.lang.Object obj)

addDatabasesNode

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

getDatabaseTreeNode

protected DatabaseTreeNode getDatabaseTreeNode(Database obj)

installListeners

protected void installListeners()
Overrides:
installListeners in class CTreeNode

uninstallListeners

protected void uninstallListeners()
Overrides:
uninstallListeners in class EssbaseTreeNode

willExpand

public void willExpand()
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

getContextInformation

public java.lang.String[][] getContextInformation()
returns the context information for this application tree node.
Overrides:
getContextInformation in class EssbaseTreeNode

setContextInformation

public boolean setContextInformation(java.lang.String[][] context)
sets the context information for this application object. This method is called when custom views are being restored. The first (and only) parameter in the context information should be a "server" name. We then use this information to get an application object from the ObjectFactory class.
Overrides:
setContextInformation in class EssbaseTreeNode

getContextCaption

public java.lang.String getContextCaption()
Overrides:
getContextCaption in class EssbaseTreeNode

updateChildOrder

public boolean updateChildOrder(CTreeNode node)
Description copied from class: CTreeNode
Updates the node order for the child node. The nodes caption might have changed to call this function Returns true if the order changed
Overrides:
updateChildOrder in class CTreeNode

applicationRenamed

protected void applicationRenamed(Application app)

addCalcscriptNode

protected void addCalcscriptNode()

addRptscriptNode

protected void addRptscriptNode()

addRulesNode

protected void addRulesNode()

addDatabaseContainerNode

protected void addDatabaseContainerNode()

updateNodeIcon

public void updateNodeIcon()

setUserObject

public void setUserObject(java.lang.Object userObject)
Specified by:
setUserObject in interface javax.swing.tree.MutableTreeNode
Overrides:
setUserObject in class CTreeNode

canStart

public boolean canStart()

getDatabaseNodeClass

public java.lang.Class getDatabaseNodeClass()

createStaticNodes

protected void createStaticNodes()

getStartSortIndex

protected int getStartSortIndex()
Overrides:
getStartSortIndex in class CTreeNode

showNode

protected void showNode(EssbaseTreeNode node)
Overrides:
showNode in class EssbaseTreeNode

clone

public java.lang.Object clone()
Overrides:
clone in class CTreeNode

handleDelete

public void handleDelete()
Overrides:
handleDelete in class CTreeNode

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.