Skip navigation links


com.essbase.eas.essbase.ui.outline.members.info
Class InfoTreeNode

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

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.event.CellEditorListener, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Direct Known Subclasses:
InfoTreeAliasNode, InfoTreeAltHierarchyDimensionNode, InfoTreeAttributeTypeNode, InfoTreeCategoryNode, InfoTreeCommentNode, InfoTreeCompressionNode, InfoTreeConsolidationNode, InfoTreeConversionNode, InfoTreeCurrencyMemberNode, InfoTreeDataStorageNode, InfoTreeDateFormatNode, InfoTreeDimensionSolveOrderNode, InfoTreeDimensionTypeNode, InfoTreeDimensionUniqueNode, InfoTreeExtendedShareNode, InfoTreeFlowMetricNode, InfoTreeFormatStringNode, InfoTreeHierarchyTypeNode, InfoTreeHybridChildNode, InfoTreeHybridDimensionNode, InfoTreeLabelNode, InfoTreeLevelWeightNode, InfoTreeLinkedAttributeAttachmentNode, InfoTreeMemberSolveOrderNode, InfoTreeNameNode, InfoTreeShareNode, InfoTreeSmartListNode, InfoTreeTimeBalanceNode, InfoTreeTimeBalanceSkipNode, InfoTreeTwoPassNode, InfoTreeTypeNode, InfoTreeVarianceNode, NameNode

public class InfoTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
implements javax.swing.event.CellEditorListener

specialized class for tree nodes in the member property tree panels.

Version:
1.00, 03/01/2002
Author:
Hank Cox
See Also:
Serialized Form

Field Summary
protected static java.lang.String ATTRIBUTE_MEMBER_KEY
           
protected static java.lang.String CLICK_HERE_EDIT_KEY
           
protected static java.lang.String DISABLED_KEY
           
protected  boolean editable
           
protected  java.awt.Component editorComponent
           
protected  int editStart
           
protected static Member[] emptyMembers
           
protected static java.lang.String ENABLED_KEY
           
protected  java.lang.String labelText
           
protected static java.lang.String MIXED_VALUES_KEY
           
protected  boolean modified
           
protected static java.lang.String MULTIPLE_MEMBERS_KEY
           
protected static java.lang.String NOT_AVAILABLE_ATTRDIM_KEY
           
protected static java.lang.String NOT_AVAILABLE_KEY
           
protected static java.lang.String PRESENT_KEY
           
protected  Representation representation
           
protected  java.util.ResourceBundle resources
           

 

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

 

Constructor Summary
InfoTreeNode()
           
InfoTreeNode(boolean allowsChildren)
           
InfoTreeNode(Member[] userObject, boolean allowsChildren)
           
InfoTreeNode(Member[] userObject, Representation r, boolean allowsChildren)
           
InfoTreeNode(java.lang.String key, boolean allowsChildren)
           

 

Method Summary
 boolean applyTransactions(Member[] members)
          this method should be overridden by any nodes needing to save data to the server.
 boolean canBeShown(Member[] members)
           
 void editingCanceled(javax.swing.event.ChangeEvent e)
           
 void editingStopped(javax.swing.event.ChangeEvent e)
           
 java.lang.String getAttributeMemberIndicator()
           
 java.lang.String getClickHereToEditIndicator()
           
 java.lang.String getDisabledIndicator()
           
 boolean getEditable()
           
 int getEditStartPosition()
           
 java.lang.String getEnabledIndicator()
           
 java.lang.String getLabelText()
           
 Member[] getMembers()
           
 java.lang.String getMixedValuesIndicator()
           
 InfoTreeModel getModel()
           
 java.lang.String getMultipleMemberIndicator()
           
 java.lang.String getNotAvailableIndicator()
           
 java.lang.String getPresentIndicator()
           
 InfoTree getTree()
           
 java.awt.Component getTreeCellEditorComponent(javax.swing.JTree tree, java.lang.Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
           
 Member[] getUserObjectAsMembers()
           
 java.lang.String getValueText()
           
 boolean isEditable()
           
 boolean isModified()
           
protected  void membersChanged(Member[] members)
           
 void setEditable(boolean value)
           
 void setEditStartPosition(int value)
           
 void setLabelText(java.lang.String value)
           
 void setMembers(Member[] members)
           
 void setRepresentation(Representation r)
           
 void setUserObject(java.lang.Object userObject)
           

 

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, toString

 

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

 

Field Detail

CLICK_HERE_EDIT_KEY

protected static final java.lang.String CLICK_HERE_EDIT_KEY
See Also:
Constant Field Values

MULTIPLE_MEMBERS_KEY

protected static final java.lang.String MULTIPLE_MEMBERS_KEY
See Also:
Constant Field Values

MIXED_VALUES_KEY

protected static final java.lang.String MIXED_VALUES_KEY
See Also:
Constant Field Values

ATTRIBUTE_MEMBER_KEY

protected static final java.lang.String ATTRIBUTE_MEMBER_KEY
See Also:
Constant Field Values

NOT_AVAILABLE_KEY

protected static final java.lang.String NOT_AVAILABLE_KEY
See Also:
Constant Field Values

NOT_AVAILABLE_ATTRDIM_KEY

protected static final java.lang.String NOT_AVAILABLE_ATTRDIM_KEY
See Also:
Constant Field Values

PRESENT_KEY

protected static final java.lang.String PRESENT_KEY
See Also:
Constant Field Values

ENABLED_KEY

protected static final java.lang.String ENABLED_KEY
See Also:
Constant Field Values

DISABLED_KEY

protected static final java.lang.String DISABLED_KEY
See Also:
Constant Field Values

emptyMembers

protected static Member[] emptyMembers

labelText

protected java.lang.String labelText

editorComponent

protected java.awt.Component editorComponent

editable

protected boolean editable

representation

protected Representation representation

editStart

protected int editStart

modified

protected boolean modified

resources

protected java.util.ResourceBundle resources

Constructor Detail

InfoTreeNode

public InfoTreeNode()

InfoTreeNode

public InfoTreeNode(java.lang.String key,
                    boolean allowsChildren)

InfoTreeNode

public InfoTreeNode(boolean allowsChildren)

InfoTreeNode

public InfoTreeNode(Member[] userObject,
                    boolean allowsChildren)

InfoTreeNode

public InfoTreeNode(Member[] userObject,
                    Representation r,
                    boolean allowsChildren)

Method Detail

setLabelText

public final void setLabelText(java.lang.String value)

getLabelText

public final java.lang.String getLabelText()

getUserObjectAsMembers

public final Member[] getUserObjectAsMembers()

getMembers

public final Member[] getMembers()

setMembers

public void setMembers(Member[] members)

getModel

public InfoTreeModel getModel()

setUserObject

public final void setUserObject(java.lang.Object userObject)
Specified by:
setUserObject in interface javax.swing.tree.MutableTreeNode
Overrides:
setUserObject in class javax.swing.tree.DefaultMutableTreeNode

setRepresentation

public final void setRepresentation(Representation r)

getEditable

public final boolean getEditable()

isEditable

public final boolean isEditable()

setEditable

public void setEditable(boolean value)

setEditStartPosition

public final void setEditStartPosition(int value)

getEditStartPosition

public final int getEditStartPosition()

isModified

public boolean isModified()

getValueText

public java.lang.String getValueText()

membersChanged

protected void membersChanged(Member[] members)

getTreeCellEditorComponent

public java.awt.Component getTreeCellEditorComponent(javax.swing.JTree tree,
                                                     java.lang.Object value,
                                                     boolean isSelected,
                                                     boolean expanded,
                                                     boolean leaf,
                                                     int row)

getClickHereToEditIndicator

public java.lang.String getClickHereToEditIndicator()

getMultipleMemberIndicator

public java.lang.String getMultipleMemberIndicator()

getAttributeMemberIndicator

public java.lang.String getAttributeMemberIndicator()

getMixedValuesIndicator

public java.lang.String getMixedValuesIndicator()

getNotAvailableIndicator

public java.lang.String getNotAvailableIndicator()

getPresentIndicator

public java.lang.String getPresentIndicator()

getEnabledIndicator

public java.lang.String getEnabledIndicator()

getDisabledIndicator

public java.lang.String getDisabledIndicator()

editingStopped

public void editingStopped(javax.swing.event.ChangeEvent e)
Specified by:
editingStopped in interface javax.swing.event.CellEditorListener

editingCanceled

public void editingCanceled(javax.swing.event.ChangeEvent e)
Specified by:
editingCanceled in interface javax.swing.event.CellEditorListener

canBeShown

public boolean canBeShown(Member[] members)

applyTransactions

public boolean applyTransactions(Member[] members)
this method should be overridden by any nodes needing to save data to the server.

getTree

public InfoTree getTree()

Skip navigation links


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