Skip navigation links


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

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

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

public class InfoTreeFormatStringNode
extends InfoTreeNode

specialized class for handling format string nodes in member information.

Since:
9.5.0
Version:
9.5.0
Author:
Harsha S L
See Also:
Serialized Form

Field Summary
protected  Member[] members
           
protected  java.lang.String newText
           
protected  java.lang.String original
           
protected  java.lang.String workingText
           

 

Fields inherited from class com.essbase.eas.essbase.ui.outline.members.info.InfoTreeNode
ATTRIBUTE_MEMBER_KEY, CLICK_HERE_EDIT_KEY, DISABLED_KEY, editable, editorComponent, editStart, emptyMembers, ENABLED_KEY, labelText, MIXED_VALUES_KEY, modified, MULTIPLE_MEMBERS_KEY, NOT_AVAILABLE_ATTRDIM_KEY, NOT_AVAILABLE_KEY, PRESENT_KEY, representation, resources

 

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

 

Constructor Summary
protected InfoTreeFormatStringNode(boolean value)
           
  InfoTreeFormatStringNode(java.lang.String key)
           
protected InfoTreeFormatStringNode(java.lang.String key, boolean value)
           

 

Method Summary
 boolean applyTransactions(Member[] members)
          this method should be overridden by any nodes needing to save data to the server.
 void editingStopped(javax.swing.event.ChangeEvent e)
           
 java.awt.Component getTreeCellEditorComponent(javax.swing.JTree tree, java.lang.Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
           
 java.lang.String getTrueValueText()
           
 java.lang.String getValueText()
           
protected  void membersChanged(Member[] members)
           
 void setValueText(java.lang.String obj)
           

 

Methods inherited from class com.essbase.eas.essbase.ui.outline.members.info.InfoTreeNode
canBeShown, editingCanceled, getAttributeMemberIndicator, getClickHereToEditIndicator, getDisabledIndicator, getEditable, getEditStartPosition, getEnabledIndicator, getLabelText, getMembers, getMixedValuesIndicator, getModel, getMultipleMemberIndicator, getNotAvailableIndicator, getPresentIndicator, getTree, getUserObjectAsMembers, isEditable, isModified, setEditable, setEditStartPosition, setLabelText, setMembers, setRepresentation, setUserObject

 

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

workingText

protected java.lang.String workingText

original

protected java.lang.String original

newText

protected java.lang.String newText

members

protected Member[] members

Constructor Detail

InfoTreeFormatStringNode

protected InfoTreeFormatStringNode(boolean value)

InfoTreeFormatStringNode

public InfoTreeFormatStringNode(java.lang.String key)

InfoTreeFormatStringNode

protected InfoTreeFormatStringNode(java.lang.String key,
                                   boolean value)

Method Detail

getValueText

public java.lang.String getValueText()
Overrides:
getValueText in class InfoTreeNode

membersChanged

protected void membersChanged(Member[] members)
Overrides:
membersChanged in class InfoTreeNode

getTreeCellEditorComponent

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

editingStopped

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

applyTransactions

public boolean applyTransactions(Member[] members)
Description copied from class: InfoTreeNode
this method should be overridden by any nodes needing to save data to the server.
Overrides:
applyTransactions in class InfoTreeNode

setValueText

public void setValueText(java.lang.String obj)

getTrueValueText

public java.lang.String getTrueValueText()

Skip navigation links


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