Skip navigation links


com.essbase.eas.essbase.ui.outline.members.attrs
Class IndependentDimMemberTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.essbase.eas.essbase.ui.outline.members.attrs.IndependentDimMemberTreeNode

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class IndependentDimMemberTreeNode
extends javax.swing.tree.DefaultMutableTreeNode

Defines a independent member tree node.

Author:
K Karthik
See Also:
Serialized Form

Field Summary

 

Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject

 

Constructor Summary
IndependentDimMemberTreeNode(Member userObject, Representation r)
           
IndependentDimMemberTreeNode(java.lang.Object userObject)
           

 

Method Summary
 int getGeneration()
          Returns node's generation
 byte getIndependentDimensionType()
           
 java.lang.String getLabelText()
           
 Member getMember()
           
 int getRowPosition()
          Returns the node's row position
 boolean isDiscreteIndepenentDimension()
           
 boolean isNodeEnabled()
           
 boolean isNodeSelected()
          Returns true whether node is selected or not.
 void setGeneration(int generation)
          Sets node's generation
 void setIndependentDimensionType(byte independentDimensionType)
           
 void setNodeEnabled(boolean nodeEnabled)
           
 void setNodeSelected(boolean nodeSelected)
          Set/Unset a node as selected
 void setRowPosition(int rowPosition)
          Sets the node's row position
 java.lang.String toString()
           

 

Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject

 

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

 

Constructor Detail

IndependentDimMemberTreeNode

public IndependentDimMemberTreeNode(java.lang.Object userObject)

IndependentDimMemberTreeNode

public IndependentDimMemberTreeNode(Member userObject,
                                    Representation r)

Method Detail

getIndependentDimensionType

public byte getIndependentDimensionType()

setIndependentDimensionType

public void setIndependentDimensionType(byte independentDimensionType)

isDiscreteIndepenentDimension

public boolean isDiscreteIndepenentDimension()

getLabelText

public java.lang.String getLabelText()
Returns:
Node Text to display

getMember

public Member getMember()

toString

public java.lang.String toString()
Overrides:
toString in class javax.swing.tree.DefaultMutableTreeNode

isNodeSelected

public boolean isNodeSelected()
Returns true whether node is selected or not.
Returns:

setNodeSelected

public void setNodeSelected(boolean nodeSelected)
Set/Unset a node as selected
Parameters:
nodeSelected - true or false

getRowPosition

public int getRowPosition()
Returns the node's row position
Returns:

setRowPosition

public void setRowPosition(int rowPosition)
Sets the node's row position
Parameters:
rowPosition -

getGeneration

public int getGeneration()
Returns node's generation

setGeneration

public void setGeneration(int generation)
Sets node's generation
Parameters:
level - Node's generation

isNodeEnabled

public boolean isNodeEnabled()

setNodeEnabled

public void setNodeEnabled(boolean nodeEnabled)

Skip navigation links


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