Skip navigation links


com.essbase.eas.essbase.ui.outline
Class VTreeModel

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

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

public class VTreeModel
extends RAFFileTreeModel

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

Version:
1.00, 03/28/2001
Author:
Hank Cox
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class com.essbase.eas.ui.tree.RAFFileTreeModel
RAFFileTreeModel.TreeRandomAccessFile

 

Field Summary

 

Fields inherited from class com.essbase.eas.ui.tree.RAFFileTreeModel
file, renderer

 

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

 

Constructor Summary
VTreeModel(VTreeRootNode root)
           

 

Method Summary
 void buildDisplayString(VTreeNode node)
           
 void dispose()
           
 RAFTreeNode findNodeForMember(Member m)
           
 VTreeNode findNodeForMember(RAFTreeNode branch, Member m)
           
 Member getMemberFor(javax.swing.tree.TreePath path)
          retrieves a single member
 Representation getRepresentation()
           
 ViewerOptions getViewerOptions()
          gets the viewer options for this model
 void nodeChanged(javax.swing.tree.TreeNode node)
           
 void setRepresentation(Representation r)
           
 void setViewerOptions(ViewerOptions value)
          sets the viewer options for this model.
 boolean updateInfo(RAFTreeNode parent, int childIndex, Member member, boolean notify)
           

 

Methods inherited from class com.essbase.eas.ui.tree.RAFFileTreeModel
add, add, getRAFRoot, getRenderer, getUserObject, initialize, setRenderer, writeData

 

Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, 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

VTreeModel

public VTreeModel(VTreeRootNode root)

Method Detail

getRepresentation

public Representation getRepresentation()

setRepresentation

public void setRepresentation(Representation r)

getViewerOptions

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

setViewerOptions

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

nodeChanged

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

findNodeForMember

public VTreeNode findNodeForMember(RAFTreeNode branch,
                                   Member m)

getMemberFor

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

findNodeForMember

public RAFTreeNode findNodeForMember(Member m)

buildDisplayString

public void buildDisplayString(VTreeNode node)

updateInfo

public boolean updateInfo(RAFTreeNode parent,
                          int childIndex,
                          Member member,
                          boolean notify)

dispose

public void dispose()
Overrides:
dispose in class RAFFileTreeModel

Skip navigation links


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