Skip navigation links
com.essbase.eas.essbase.ui.editor.mtree2
Class MemberTreeRootNode
java.lang.Object
com.essbase.eas.ui.tree.RAFTreeNode
com.essbase.eas.ui.tree.RAFTreeRootNode
com.essbase.eas.essbase.ui.editor.mtree2.MemberTreeRootNode
- All Implemented Interfaces:
- RAFRenderer, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
-
public class MemberTreeRootNode
- extends RAFTreeRootNode
defines a member attribute tree node.
- Since:
- 6.5.1
- Version:
- 7.0.0
- Author:
- Sree Menon
| 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 |
MemberTreeRootNode
public MemberTreeRootNode()
MemberTreeRootNode
public MemberTreeRootNode(java.lang.String caption)
MemberTreeRootNode
public MemberTreeRootNode(java.lang.String caption,
int children,
Representation r,
TextEditor editor,
ScriptEditorAction editorAction)
setRepresentation
public void setRepresentation(Representation representation)
getRepresentation
protected Representation getRepresentation()
getEditor
protected TextEditor getEditor()
setEditor
public void setEditor(TextEditor textEditor)
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
handleRightClick
public void handleRightClick(java.awt.Point pt)
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
getEditorAction
public ScriptEditorAction getEditorAction()
setEditorAction
public void setEditorAction(ScriptEditorAction editorAction)
Skip navigation links
Copyright © 2001, 2012, Oracle. All rights reserved.