Skip navigation links


com.essbase.eas.essbase.ui.scripting.mdx
Class MDXFunctionTreeRootNode

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.scripting.mdx.MDXFunctionTreeRootNode

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

public class MDXFunctionTreeRootNode
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
MDXFunctionTreeRootNode()
           
MDXFunctionTreeRootNode(java.lang.String caption)
           
MDXFunctionTreeRootNode(java.lang.String caption, int children, TextEditor editor)
           

 

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()
           
protected  TextEditor getEditor()
           
 void handleRightClick(java.awt.Point pt)
           
 java.lang.Object readData(java.io.RandomAccessFile raf)
          Reads the data from the file
 void setEditor(TextEditor textEditor)
           
 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, toString, 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, setChildCount, 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

MDXFunctionTreeRootNode

public MDXFunctionTreeRootNode()

MDXFunctionTreeRootNode

public MDXFunctionTreeRootNode(java.lang.String caption)

MDXFunctionTreeRootNode

public MDXFunctionTreeRootNode(java.lang.String caption,
                               int children,
                               TextEditor editor)

Method Detail

getEditor

protected TextEditor getEditor()

setEditor

public void setEditor(TextEditor textEditor)

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

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

handleRightClick

public void handleRightClick(java.awt.Point pt)

dispose

public void dispose()
Overrides:
dispose in class RAFTreeRootNode

Skip navigation links


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