Skip navigation links


com.essbase.eas.ui.tree
Interface RAFRenderer

All Known Implementing Classes:
MDXFunctionTreeRootNode, MemberTreeRootNode, RAFTreeRootNode, VTreeRootNode

public interface RAFRenderer

defines a member attribute tree.

Since:
6.5.0
Version:
7.1.0
Author:
Sree Menon

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
 java.lang.Object readData(java.io.RandomAccessFile raf)
          Reads the data from the file
 void writeData(java.io.RandomAccessFile raf, java.lang.Object userObj)
          writes the object information to the file

 

Method Detail

writeData

void writeData(java.io.RandomAccessFile raf,
               java.lang.Object userObj)
               throws java.io.IOException
writes the object information to the file
Parameters:
raf - the RandomAccessFile to write to
userObj - the object to be rendered
Throws:
java.io.IOException

readData

java.lang.Object readData(java.io.RandomAccessFile raf)
                          throws java.io.IOException
Reads the data from the file
Parameters:
raf - the RAF file
Returns:
the object of data
Throws:
java.io.IOException

addChildNode

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
Parameters:
parent - the parent node
userObj - the user object
childIndex - offset to the data
Returns:
the new Tree Node

Skip navigation links


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