Skip navigation links


com.essbase.eas.essbase.ui.outline
Class ETreeModel

java.lang.Object
  extended by javax.swing.tree.DefaultTreeModel
      extended by com.essbase.eas.essbase.ui.outline.ETreeModel

All Implemented Interfaces:
java.io.Serializable, javax.swing.tree.TreeModel

public class ETreeModel
extends javax.swing.tree.DefaultTreeModel

extension of the default tree model to support the specialized needs of the outline viewer.

Since:
6.5.1
Version:
7.1.0
Author:
Hank Cox
See Also:
Serialized Form

Field Summary

 

Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root

 

Constructor Summary
ETreeModel()
           
ETreeModel(Representation r)
           

 

Method Summary
 void addChild(Member parent, Member m, int index)
           
 void deleteMembersFor(Member[] members)
          removes nodes associated with an array of paths.
 void dispose()
           
 void exportDimensionFor(Representation r, Member m, MemberAttribute[] memberAttributes, java.lang.String comment, boolean associate, boolean merge)
           
 OutlineTreeNode findNodeForMember(Member m)
           
 OutlineTreeNode findNodeForMember(Member m, boolean populate)
           
 OutlineTreeNode findNodeForMember(OutlineTreeNode branch, Member m)
           
 OutlineTreeNode findNodeForMember(OutlineTreeNode branch, Member m, boolean populate)
           
 Member getMemberFor(javax.swing.tree.TreePath path)
          retrieves a single member
 java.lang.String[] getMemberNamesFor(javax.swing.tree.TreePath[] paths)
           
 Member[] getMembersFor(javax.swing.tree.TreePath[] paths)
          retrieves the members for a set of paths.
 OutlineTreeNode getNodeFor(javax.swing.tree.TreePath path)
          retrieves a single node.
 Representation getRepresentation()
           
 java.lang.Object getRootAs(java.lang.Class c)
          retrieves the root as an instance of a specific class.
 ViewerOptions getViewerOptions()
          gets the viewer options for this model
 void handleEvent(ETree tree, AliasTableClearEvent atce)
           
 void handleEvent(ETree tree, AliasTableRenameEvent atre)
           
 void handleEvent(ETree tree, ClearOutlineEvent coe)
           
 void handleEvent(ETree tree, DateFormatEvent dfe)
           
 void handleEvent(ETree tree, LongNameConstructorEvent lnce)
           
 void handleEvent(ETree tree, LongNameDelimiterEvent lnde)
           
 void handleEvent(ETree tree, LongNameSourceEvent lnse)
           
 void handleEvent(ETree tree, MemberCopyEvent mce)
           
 void handleEvent(ETree tree, MemberCreateEvent mce)
           
 void handleEvent(ETree tree, MemberDeleteEvent mde)
           
 void handleEvent(ETree tree, MemberDimensionTypeEvent mdte)
           
 void handleEvent(ETree tree, MemberHierarchyTypeEvent mahe)
           
 void handleEvent(ETree tree, MemberMoveEvent mme)
           
 void handleEvent(ETree tree, MemberSortEvent mse)
           
 void handleEvent(ETree tree, UpdateOutlineEvent uoe)
           
 void handleEventUndo(ETree tree, AliasTableClearEvent atce)
           
 void handleEventUndo(ETree tree, MemberCopyEvent mce)
           
 void handleEventUndo(ETree tree, MemberCreateEvent mce)
           
 void handleEventUndo(ETree tree, MemberDeleteEvent mde)
           
 void handleEventUndo(ETree tree, MemberDimensionTypeEvent mdte)
           
 void handleEventUndo(ETree tree, MemberHierarchyTypeEvent mahe)
           
 void handleEventUndo(ETree tree, MemberMoveEvent mme)
           
 void handleEventUndo(ETree tree, MemberSortEvent mse)
           
 void importDimensionFor(Representation r, java.lang.String dimensionName)
           
 void insertNodeInto(javax.swing.tree.MutableTreeNode newChild, javax.swing.tree.MutableTreeNode parent, int index)
           
 void nodeChanged(javax.swing.tree.TreeNode node)
           
 void nodesChanged(javax.swing.tree.TreeNode node, int[] indices)
           
 void nodesNeedUpdating()
          Deprecated.  
 void nodesNeedUpdating(OutlineTreeNode parent)
          Deprecated.  
 void nodesWereInserted(javax.swing.tree.TreeNode node, int[] childIndices)
           
 void nodesWereRemoved(javax.swing.tree.TreeNode node, int[] childIndices, java.lang.Object[] removedChildren)
           
 void populateChildrenFor(Member parent, Member[] children, int[] indices)
          Deprecated.  
 void populateChildrenFor(OutlineTreeNode parent)
          populates the child nodes for a particular member.
 void setViewerOptions(ViewerOptions value)
          sets the viewer options for this model.
 void sortChildrenFor(javax.swing.tree.TreePath[] paths, boolean fAscending)
           

 

Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, isLeaf, nodeStructureChanged, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ETreeModel

public ETreeModel()

ETreeModel

public ETreeModel(Representation r)

Method Detail

getRepresentation

public Representation getRepresentation()

findNodeForMember

public OutlineTreeNode findNodeForMember(OutlineTreeNode branch,
                                         Member m,
                                         boolean populate)

findNodeForMember

public OutlineTreeNode findNodeForMember(OutlineTreeNode branch,
                                         Member m)

findNodeForMember

public OutlineTreeNode findNodeForMember(Member m,
                                         boolean populate)

findNodeForMember

public OutlineTreeNode findNodeForMember(Member m)

populateChildrenFor

public void populateChildrenFor(Member parent,
                                Member[] children,
                                int[] indices)
Deprecated. 
populates children

populateChildrenFor

public void populateChildrenFor(OutlineTreeNode parent)
populates the child nodes for a particular member.

getViewerOptions

public ViewerOptions getViewerOptions()
gets the viewer options for this model

setViewerOptions

public void setViewerOptions(ViewerOptions value)
sets the viewer options for this model.

deleteMembersFor

public void deleteMembersFor(Member[] members)
removes nodes associated with an array of paths. Removes the members associated with them.

sortChildrenFor

public void sortChildrenFor(javax.swing.tree.TreePath[] paths,
                            boolean fAscending)

getMemberFor

public Member getMemberFor(javax.swing.tree.TreePath path)
retrieves a single member

getNodeFor

public OutlineTreeNode getNodeFor(javax.swing.tree.TreePath path)
retrieves a single node.

getMemberNamesFor

public java.lang.String[] getMemberNamesFor(javax.swing.tree.TreePath[] paths)

getMembersFor

public Member[] getMembersFor(javax.swing.tree.TreePath[] paths)
retrieves the members for a set of paths.

getRootAs

public java.lang.Object getRootAs(java.lang.Class c)
retrieves the root as an instance of a specific class.

nodeChanged

public void nodeChanged(javax.swing.tree.TreeNode node)
Overrides:
nodeChanged in class javax.swing.tree.DefaultTreeModel

nodesChanged

public void nodesChanged(javax.swing.tree.TreeNode node,
                         int[] indices)
Overrides:
nodesChanged in class javax.swing.tree.DefaultTreeModel

nodesNeedUpdating

public void nodesNeedUpdating(OutlineTreeNode parent)
Deprecated. 

nodesNeedUpdating

public void nodesNeedUpdating()
Deprecated. 

insertNodeInto

public void insertNodeInto(javax.swing.tree.MutableTreeNode newChild,
                           javax.swing.tree.MutableTreeNode parent,
                           int index)
Overrides:
insertNodeInto in class javax.swing.tree.DefaultTreeModel

nodesWereInserted

public void nodesWereInserted(javax.swing.tree.TreeNode node,
                              int[] childIndices)
Overrides:
nodesWereInserted in class javax.swing.tree.DefaultTreeModel

nodesWereRemoved

public void nodesWereRemoved(javax.swing.tree.TreeNode node,
                             int[] childIndices,
                             java.lang.Object[] removedChildren)
Overrides:
nodesWereRemoved in class javax.swing.tree.DefaultTreeModel

dispose

public void dispose()

handleEvent

public void handleEvent(ETree tree,
                        AliasTableRenameEvent atre)

handleEvent

public void handleEvent(ETree tree,
                        LongNameSourceEvent lnse)

handleEvent

public void handleEvent(ETree tree,
                        LongNameDelimiterEvent lnde)

handleEvent

public void handleEvent(ETree tree,
                        LongNameConstructorEvent lnce)

handleEvent

public void handleEvent(ETree tree,
                        AliasTableClearEvent atce)

handleEvent

public void handleEvent(ETree tree,
                        MemberDeleteEvent mde)

handleEvent

public void handleEvent(ETree tree,
                        MemberCopyEvent mce)

handleEvent

public void handleEvent(ETree tree,
                        MemberCreateEvent mce)

handleEvent

public void handleEvent(ETree tree,
                        MemberMoveEvent mme)

handleEvent

public void handleEvent(ETree tree,
                        MemberSortEvent mse)

handleEvent

public void handleEvent(ETree tree,
                        ClearOutlineEvent coe)

handleEvent

public void handleEvent(ETree tree,
                        UpdateOutlineEvent uoe)

handleEvent

public void handleEvent(ETree tree,
                        MemberDimensionTypeEvent mdte)

handleEvent

public void handleEvent(ETree tree,
                        MemberHierarchyTypeEvent mahe)

handleEventUndo

public void handleEventUndo(ETree tree,
                            MemberDimensionTypeEvent mdte)

handleEventUndo

public void handleEventUndo(ETree tree,
                            MemberCopyEvent mce)

handleEventUndo

public void handleEventUndo(ETree tree,
                            MemberDeleteEvent mde)

handleEventUndo

public void handleEventUndo(ETree tree,
                            MemberMoveEvent mme)

handleEventUndo

public void handleEventUndo(ETree tree,
                            MemberCreateEvent mce)

handleEventUndo

public void handleEventUndo(ETree tree,
                            MemberSortEvent mse)

handleEventUndo

public void handleEventUndo(ETree tree,
                            AliasTableClearEvent atce)

handleEventUndo

public void handleEventUndo(ETree tree,
                            MemberHierarchyTypeEvent mahe)

addChild

public void addChild(Member parent,
                     Member m,
                     int index)

exportDimensionFor

public void exportDimensionFor(Representation r,
                               Member m,
                               MemberAttribute[] memberAttributes,
                               java.lang.String comment,
                               boolean associate,
                               boolean merge)

importDimensionFor

public void importDimensionFor(Representation r,
                               java.lang.String dimensionName)

handleEvent

public void handleEvent(ETree tree,
                        DateFormatEvent dfe)

Skip navigation links


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