Skip navigation links


com.essbase.eas.essbase.ui.outline
Class VTreeRootNode

java.lang.Object
  extended by com.essbase.eas.ui.tree.RAFTreeNode
      extended by com.essbase.eas.ui.tree.RAFTreeRootNode
          extended by com.essbase.eas.essbase.ui.outline.VTreeRootNode

All Implemented Interfaces:
RAFRenderer, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class VTreeRootNode
extends RAFTreeRootNode

defines a member attribute tree node.

Since:
6.5.1
Version:
7.0.0
Author:
Sree Menon

Nested Class Summary

 

Nested classes/interfaces inherited from class com.essbase.eas.ui.tree.RAFTreeNode
RAFTreeNode.RAFTreeNodeList

 

Field Summary

 

Fields inherited from class com.essbase.eas.ui.tree.RAFTreeNode
childCount, childIndex, children, fileIndex, hasDummyChild, INFO_NOT_RETRIEVED, parent, ref, rolap

 

Constructor Summary
VTreeRootNode()
           
VTreeRootNode(java.lang.String caption)
           
VTreeRootNode(java.lang.String caption, int children, Representation r)
           

 

Method Summary
 javax.swing.tree.TreeNode addChildNode(javax.swing.tree.TreeNode parent, java.lang.Object userObj, long childIndex)
          Adds a child node for the parent using the object passed in
 void dispose()
           
 Member getMember()
           
protected  Representation getRepresentation()
           
 java.lang.Object readData(java.io.RandomAccessFile raf)
          Reads the data from the file
 void setChildCount(int count)
          Sets the child count
 void setRepresentation(Representation representation)
           
 java.lang.String toString()
           
 void writeData(java.io.RandomAccessFile raf, java.lang.Object userObj)
          writes the object information to the file

 

Methods inherited from class com.essbase.eas.ui.tree.RAFTreeRootNode
getModel, getRendererForNode, getRoot, getTree, setCaption, setModel, setTree, setUserObject, updateChildren

 

Methods inherited from class com.essbase.eas.ui.tree.RAFTreeNode
add, children, children, createChildrenArray, createNode, depthFirstEnumeration, depthFirstEnumeration, finalize, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getFirstChild, getHasDummyChild, getIndex, getLevel, getNextSibling, getParent, getPath, getPathToRoot, getPreviousSibling, getSoftObject, getUserObject, incrementChildIndex, insert, isChildRendered, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeSibling, isRolap, postorderEnumeration, postorderEnumeration, remove, remove, removeFromParent, setFileIndex, setHasDummyChild, setParent, setRolap, setSoftObject, updateChildAt, updateNode

 

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

 

Constructor Detail

VTreeRootNode

public VTreeRootNode()

VTreeRootNode

public VTreeRootNode(java.lang.String caption)

VTreeRootNode

public VTreeRootNode(java.lang.String caption,
                     int children,
                     Representation r)

Method Detail

setRepresentation

public void setRepresentation(Representation representation)

getRepresentation

protected Representation getRepresentation()

getMember

public Member getMember()

writeData

public void writeData(java.io.RandomAccessFile raf,
                      java.lang.Object userObj)
               throws java.io.IOException
Description copied from interface: RAFRenderer
writes the object information to the file
Specified by:
writeData in interface RAFRenderer
Overrides:
writeData in class RAFTreeRootNode
Parameters:
raf - the RandomAccessFile to write to
userObj - the object to be rendered
Throws:
java.io.IOException

readData

public java.lang.Object readData(java.io.RandomAccessFile raf)
                          throws java.io.IOException
Description copied from interface: RAFRenderer
Reads the data from the file
Specified by:
readData in interface RAFRenderer
Overrides:
readData in class RAFTreeRootNode
Parameters:
raf - the RAF file
Returns:
the object of data
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class RAFTreeRootNode

addChildNode

public javax.swing.tree.TreeNode addChildNode(javax.swing.tree.TreeNode parent,
                                              java.lang.Object userObj,
                                              long childIndex)
Description copied from interface: RAFRenderer
Adds a child node for the parent using the object passed in
Specified by:
addChildNode in interface RAFRenderer
Overrides:
addChildNode in class RAFTreeRootNode
Parameters:
parent - the parent node
userObj - the user object
childIndex - offset to the data
Returns:
the new Tree Node

setChildCount

public void setChildCount(int count)
Description copied from class: RAFTreeNode
Sets the child count
Overrides:
setChildCount in class RAFTreeNode
Parameters:
count - number of children

dispose

public void dispose()
Overrides:
dispose in class RAFTreeRootNode

Skip navigation links


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