Skip navigation links


com.essbase.eas.ui.ctree
Class CTreeCustomViewRootNode

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

All Implemented Interfaces:
CTreeRootNode, 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 CTreeCustomViewRootNode
extends CTreeNode
implements CTreeRootNode

Provides access to the CTreeModel that a node is installed into. The standard Swing classes don't give access to the tree model that nodes are attached to; therefore, they can't force any needed UI updates. This interface should be implemented by any Root node objects that are placed into a CTreeModel.

Version:
1.00, 09/18/2000
Author:
Hank Cox
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
  CTreeCustomViewRootNode()
           
protected CTreeCustomViewRootNode(java.lang.Object userObject, boolean allowsChildren, java.lang.String caption)
           
  CTreeCustomViewRootNode(java.lang.Object userObject, java.lang.String caption)
           

 

Method Summary
 CTreeModel getModel()
          returns the CTreeModel the root is in.
 void setModel(CTreeModel value)
          sets the CTreeModel the root is in.

 

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, getActionMenuItems, getAllChildrenRemoved, getCaption, getChildForUserObject, getChildrenAsArray, getChildUserObjects, getChildUserObjectsAsList, getContextCaption, getContextInformation, getContextMenuItems, getCustomViewEnabled, getCustomViewNode, getDraggable, getExpandedState, getIcon, getNotifyRemoveChildren, getPrintableObjects, getSortedChildIndex, getStartSortIndex, getToolTipText, getTransferData, getTransferDataFlavors, getTreeCellRendererComponent, getTreeModel, getUserObjectAs, handleDelete, handleDoubleClick, handleExpand, initFlavors, insertNodeAndNotify, installListeners, isDataFlavorSupported, localizeMenuItems, nodeRemoved, 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

CTreeCustomViewRootNode

public CTreeCustomViewRootNode()

CTreeCustomViewRootNode

protected CTreeCustomViewRootNode(java.lang.Object userObject,
                                  boolean allowsChildren,
                                  java.lang.String caption)

CTreeCustomViewRootNode

public CTreeCustomViewRootNode(java.lang.Object userObject,
                               java.lang.String caption)

Method Detail

getModel

public CTreeModel getModel()
Description copied from interface: CTreeRootNode
returns the CTreeModel the root is in.
Specified by:
getModel in interface CTreeRootNode

setModel

public void setModel(CTreeModel value)
Description copied from interface: CTreeRootNode
sets the CTreeModel the root is in.
Specified by:
setModel in interface CTreeRootNode

Skip navigation links


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