Skip navigation links


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

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

All Implemented Interfaces:
java.io.Serializable, javax.swing.tree.TreeModel
Direct Known Subclasses:
InfoTreeASO71Model, InfoTreeASOModel

public class InfoTreeModel
extends javax.swing.tree.DefaultTreeModel

tree model for the information and account information panel.

Since:
6.5.1
Version:
7.0.0
Author:
Hank Cox
See Also:
Serialized Form

Field Summary
protected static java.lang.String ACCOUNT_INFO_KEY
           
protected static java.lang.String ALIASES_KEY
           
protected static java.lang.String ATTRIBUTE_TYPE_KEY
           
protected  InfoTreeAttributeTypeNode attrtypeNode
           
protected static java.lang.String CATEGORY_KEY
           
protected  InfoTreeCategoryNode categoryNode
           
protected static java.lang.String COMBINATIONS_KEY
           
protected static java.lang.String COMBINED_NAME_KEY
           
protected  InfoTreeCombinedNameNode combinedNameNode
           
protected static java.lang.String COMMENT_KEY
           
protected  InfoTreeCommentNode commentNode
           
protected static java.lang.String CONSOLIDATION_KEY
           
protected  InfoTreeConsolidationNode consolidationNode
           
protected  InfoTreeConversionNode conversionNode
           
protected static java.lang.String CURRENCY_CONVERSION_KEY
           
protected static java.lang.String CURRENCY_MEMBER_KEY
           
protected  InfoTreeCurrencyMemberNode currencymemberNode
           
protected static java.lang.String DATA_STORAGE_KEY
           
protected static java.lang.String DIMENSION_STORAGE_KEY
           
protected static java.lang.String DIMENSION_TYPE_KEY
           
protected static java.lang.String DIMENSION_UNIQUE_KEY
           
protected  InfoTreeDataStorageNode dimstorageNode
           
protected  InfoTreeDimensionTypeNode dimtypeNode
           
protected  InfoTreeDimensionUniqueNode dimUniqueNode
           
protected static java.lang.String EXTENDED_SHARE_KEY
           
protected  InfoTreeExtendedShareNode extendedShareNode
           
protected static java.lang.String FORMAT_STRING_KEY
           
protected  InfoTreeFormatStringNode fsNode
           
protected  boolean homogeneousData
           
protected static java.lang.String HYBRID_ANALYSIS_KEY
           
protected static java.lang.String HYBRID_CHILD_KEY
           
protected  InfoTreeHybridChildNode hybridChildNode
           
protected  InfoTreeHybridDimensionNode hybridDimNode
           
protected  InfoPanel infoPanel
           
protected static java.lang.String INFORMATION_KEY
           
protected  InfoTreeLinkedAttributeAttachmentNode linkedAttributeAttachmentNode
           
protected static java.lang.String MEMBER_INFO_KEY
           
protected  Member[] members
           
protected static java.lang.String NAME_KEY
           
protected  InfoTreeNameNode nameNode
           
protected  boolean nonUnique
           
protected  Representation representation
           
protected  InfoTreeShareNode shareNode
           
protected  InfoTreeSmartListNode slNode
           
protected static java.lang.String SMARTLIST_KEY
           
protected static java.lang.String TIME_BALANCE_KEY
           
protected static java.lang.String TIME_BALANCE_SKIP_KEY
           
protected  InfoTreeTimeBalanceNode timebalanceNode
           
protected  InfoTreeTimeBalanceSkipNode timebalanceskipNode
           
protected static java.lang.String TWOPASS_CALCULATION_KEY
           
protected  InfoTreeTwoPassNode twopassNode
           
protected static java.lang.String TYPE_KEY
           
protected  InfoTreeTypeNode typeNode
           
protected static java.lang.String VARIANCE_KEY
           
protected  InfoTreeVarianceNode varianceNode
           

 

Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root

 

Constructor Summary
InfoTreeModel()
           
InfoTreeModel(javax.swing.tree.DefaultMutableTreeNode node, boolean asksAllowsChildren)
           
InfoTreeModel(Representation r, InfoPanel p, Member[] m)
           

 

Method Summary
protected  void addNodeWithUpdate(InfoTreeNode parent, InfoTreeNode child)
          adds and updates a node ...
 boolean applyTransactions()
           
 void editingStoppedFor(InfoTreeNode node)
           
 void expandEntireTree(InfoTree itree)
           
 DimensionCategory getUpdatedDimensionCategory()
           
 Share getUpdatedShareSetting()
           
 void handleIfLinkedAttributeSelected(boolean firstTime)
          This code determines whether to display the linked attribute selection when the dimension type is set as "linked attribute"
 boolean hasTransactions()
           
 void hideLinkedAttributeAttachentNode()
           
protected  void initialize()
          populates nodes onto the tree based on the members that have been placed into this model.
protected  void initializeMultipleMembers(InfoTreeNode parent)
          populates the tree if there are multiple members selected.
protected  void initializeSingleMember(InfoTreeNode parent)
          populates the tree if there is a single member selected.
protected  void initMultipleAccountInfo(Member theDimension, Member[] theMembers, InfoTreeNode parent)
           
protected  void initMultipleMemberInfo(Member theDimension, Member[] theMembers, InfoTreeNode parent)
           
protected  void initSingleAccountInfo(Member theDimension, Member theMember, InfoTreeNode parent)
          populates the account info section for a single member.
protected  void initSingleAliases(InfoTreeNode parent)
          populates the children of the aliases node.
protected  void initSingleCombinations(Member theDimension, Member theMember, InfoTreeNode parent)
          populates the children of the alias combinations node.
protected  void initSingleMemberInfo(Member theDimension, Member theMember, InfoTreeNode parent)
          populates the member info section for a single member.
 void showLinkedAttributeAttachmentNode(boolean firstTime)
           
protected  void updateAttributeTypeNode()
           
protected  void updateCommentNode()
           
protected  void updateExtendedShareNode()
           
protected  void updateShareNode()
           

 

Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged

 

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

 

Field Detail

INFORMATION_KEY

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

MEMBER_INFO_KEY

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

ACCOUNT_INFO_KEY

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

NAME_KEY

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

ALIASES_KEY

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

COMBINATIONS_KEY

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

COMMENT_KEY

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

DIMENSION_TYPE_KEY

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

DIMENSION_UNIQUE_KEY

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

ATTRIBUTE_TYPE_KEY

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

CONSOLIDATION_KEY

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

TWOPASS_CALCULATION_KEY

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

DATA_STORAGE_KEY

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

DIMENSION_STORAGE_KEY

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

HYBRID_ANALYSIS_KEY

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

HYBRID_CHILD_KEY

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

TYPE_KEY

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

SMARTLIST_KEY

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

FORMAT_STRING_KEY

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

TIME_BALANCE_KEY

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

TIME_BALANCE_SKIP_KEY

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

VARIANCE_KEY

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

CURRENCY_CONVERSION_KEY

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

CATEGORY_KEY

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

CURRENCY_MEMBER_KEY

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

EXTENDED_SHARE_KEY

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

COMBINED_NAME_KEY

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

representation

protected Representation representation

infoPanel

protected InfoPanel infoPanel

members

protected Member[] members

homogeneousData

protected boolean homogeneousData

nonUnique

protected boolean nonUnique

nameNode

protected InfoTreeNameNode nameNode

commentNode

protected InfoTreeCommentNode commentNode

dimtypeNode

protected InfoTreeDimensionTypeNode dimtypeNode

dimUniqueNode

protected InfoTreeDimensionUniqueNode dimUniqueNode

attrtypeNode

protected InfoTreeAttributeTypeNode attrtypeNode

consolidationNode

protected InfoTreeConsolidationNode consolidationNode

twopassNode

protected InfoTreeTwoPassNode twopassNode

dimstorageNode

protected InfoTreeDataStorageNode dimstorageNode

shareNode

protected InfoTreeShareNode shareNode

extendedShareNode

protected InfoTreeExtendedShareNode extendedShareNode

typeNode

protected InfoTreeTypeNode typeNode

slNode

protected InfoTreeSmartListNode slNode

fsNode

protected InfoTreeFormatStringNode fsNode

timebalanceNode

protected InfoTreeTimeBalanceNode timebalanceNode

timebalanceskipNode

protected InfoTreeTimeBalanceSkipNode timebalanceskipNode

varianceNode

protected InfoTreeVarianceNode varianceNode

conversionNode

protected InfoTreeConversionNode conversionNode

categoryNode

protected InfoTreeCategoryNode categoryNode

currencymemberNode

protected InfoTreeCurrencyMemberNode currencymemberNode

hybridDimNode

protected InfoTreeHybridDimensionNode hybridDimNode

hybridChildNode

protected InfoTreeHybridChildNode hybridChildNode

combinedNameNode

protected InfoTreeCombinedNameNode combinedNameNode

linkedAttributeAttachmentNode

protected InfoTreeLinkedAttributeAttachmentNode linkedAttributeAttachmentNode

Constructor Detail

InfoTreeModel

public InfoTreeModel()

InfoTreeModel

public InfoTreeModel(javax.swing.tree.DefaultMutableTreeNode node,
                     boolean asksAllowsChildren)

InfoTreeModel

public InfoTreeModel(Representation r,
                     InfoPanel p,
                     Member[] m)

Method Detail

initialize

protected void initialize()
populates nodes onto the tree based on the members that have been placed into this model.

addNodeWithUpdate

protected void addNodeWithUpdate(InfoTreeNode parent,
                                 InfoTreeNode child)
adds and updates a node ...

initSingleMemberInfo

protected void initSingleMemberInfo(Member theDimension,
                                    Member theMember,
                                    InfoTreeNode parent)
populates the member info section for a single member.

initMultipleMemberInfo

protected void initMultipleMemberInfo(Member theDimension,
                                      Member[] theMembers,
                                      InfoTreeNode parent)

initSingleAccountInfo

protected void initSingleAccountInfo(Member theDimension,
                                     Member theMember,
                                     InfoTreeNode parent)
populates the account info section for a single member.

initMultipleAccountInfo

protected void initMultipleAccountInfo(Member theDimension,
                                       Member[] theMembers,
                                       InfoTreeNode parent)

initSingleAliases

protected void initSingleAliases(InfoTreeNode parent)
populates the children of the aliases node.

initSingleCombinations

protected void initSingleCombinations(Member theDimension,
                                      Member theMember,
                                      InfoTreeNode parent)
populates the children of the alias combinations node.

initializeSingleMember

protected void initializeSingleMember(InfoTreeNode parent)
populates the tree if there is a single member selected.

initializeMultipleMembers

protected void initializeMultipleMembers(InfoTreeNode parent)
populates the tree if there are multiple members selected.

expandEntireTree

public void expandEntireTree(InfoTree itree)

updateAttributeTypeNode

protected void updateAttributeTypeNode()

updateCommentNode

protected void updateCommentNode()

updateShareNode

protected void updateShareNode()

updateExtendedShareNode

protected void updateExtendedShareNode()

hasTransactions

public boolean hasTransactions()

applyTransactions

public boolean applyTransactions()

getUpdatedShareSetting

public Share getUpdatedShareSetting()

getUpdatedDimensionCategory

public DimensionCategory getUpdatedDimensionCategory()

editingStoppedFor

public void editingStoppedFor(InfoTreeNode node)

handleIfLinkedAttributeSelected

public void handleIfLinkedAttributeSelected(boolean firstTime)
This code determines whether to display the linked attribute selection when the dimension type is set as "linked attribute"
Parameters:
firstTime - This is set to true when the member is already LVA when properties dialog is invoked, else false if it is changed to LVA in member properties dialog while editing

showLinkedAttributeAttachmentNode

public void showLinkedAttributeAttachmentNode(boolean firstTime)

hideLinkedAttributeAttachentNode

public void hideLinkedAttributeAttachentNode()

Skip navigation links


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