Skip navigation links


com.essbase.eas.essbase.ui.editor.mtree2
Class MemberTree

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JTree
                  extended by com.essbase.eas.ui.tree.RAFTree
                      extended by com.essbase.eas.essbase.ui.editor.mtree2.MemberTree

All Implemented Interfaces:
FindResultsProcessor, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.Scrollable
Direct Known Subclasses:
MemberSelectionDialog.MbrSelectTree, MemberSelectionDialog.MbrSelectTree

public class MemberTree
extends RAFTree
implements FindResultsProcessor

defines a member attribute tree.

Since:
6.5.0
Version:
7.1.0
Author:
Sree Menon
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class com.essbase.eas.ui.tree.RAFTree
RAFTree.FocusHandler

 

Nested classes/interfaces inherited from class javax.swing.JTree
javax.swing.JTree.AccessibleJTree, javax.swing.JTree.DropLocation, javax.swing.JTree.DynamicUtilTreeNode, javax.swing.JTree.EmptySelectionModel, javax.swing.JTree.TreeModelHandler, javax.swing.JTree.TreeSelectionRedirector

 

Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent

 

Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer

 

Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy

 

Field Summary
protected  TreeAdapter adapter
           
protected  java.lang.String aliasTableName
           
protected  boolean bShowServerName
           
protected static int CHILD_BLOCK_SIZE
           
protected  java.awt.event.ActionListener collapseAncestorAction
           
protected  javax.swing.JMenuItem collapseAncestorItem
           
protected  javax.swing.AbstractAction editorAction
           
protected  javax.swing.JMenuItem editorItem
           
protected  EditorTabbedPane editTabPane
           
protected  javax.swing.AbstractAction expandChildrenAction
           
protected  javax.swing.JMenuItem expandChildrenItem
           
protected  javax.swing.AbstractAction expandDescendantsAction
           
protected  javax.swing.JMenuItem expandDescendItem
           
protected  javax.swing.AbstractAction expandOutlineAction
           
protected  javax.swing.JMenuItem expandOutlineItem
           
protected  javax.swing.AbstractAction findAction
           
protected  javax.swing.JMenuItem findMember
           
protected  boolean hasQuotedDimensions
           
protected  boolean isCalcScript
           
protected  TreeMouseAdapter mouAdapter
           
protected  boolean needsLongAttributeName
           
protected  javax.swing.JPopupMenu popMenu
           
protected  char quoteBegin
           
protected  char quoteEnd
           
protected  Representation representation
           
protected  ScriptEditorAction scriptEditorAction
           
protected  TextEditor textEditor
           
protected  short viewBy
           
static short VIEWBY_DIMENSION
           
static short VIEWBY_GENERATIONS
           
static short VIEWBY_LEVEL
           
static short VIEWBY_TMSERIES
           

 

Fields inherited from class javax.swing.JTree
ANCHOR_SELECTION_PATH_PROPERTY, CELL_EDITOR_PROPERTY, CELL_RENDERER_PROPERTY, cellEditor, cellRenderer, editable, EDITABLE_PROPERTY, EXPANDS_SELECTED_PATHS_PROPERTY, INVOKES_STOP_CELL_EDITING_PROPERTY, invokesStopCellEditing, LARGE_MODEL_PROPERTY, largeModel, LEAD_SELECTION_PATH_PROPERTY, ROOT_VISIBLE_PROPERTY, rootVisible, ROW_HEIGHT_PROPERTY, rowHeight, SCROLLS_ON_EXPAND_PROPERTY, scrollsOnExpand, SELECTION_MODEL_PROPERTY, selectionModel, selectionRedirector, SHOWS_ROOT_HANDLES_PROPERTY, showsRootHandles, TOGGLE_CLICK_COUNT_PROPERTY, toggleClickCount, TREE_MODEL_PROPERTY, treeModel, treeModelListener, VISIBLE_ROW_COUNT_PROPERTY, visibleRowCount

 

Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW

 

Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT

 

Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH

 

Constructor Summary
MemberTree()
           

 

Method Summary
 void clear()
           
 boolean displayMember(Member m)
           
 void dispose()
           
 java.lang.String getAliasTableName()
           
 void getContextMenuItems()
           
protected  char getEndQuote()
           
 java.lang.String getLongNameForMember(Member m)
           
 Member getMemberForNode(MemberTreeNode node)
           
 java.lang.String getSourceTitle()
           
protected  char getStartQuote()
           
protected  EditorTabbedPane getTabbedPane()
           
 javax.swing.JTree getTree()
           
 void handleDoubleClick()
           
 void handleRightClick(int x, int y)
           
 void handleRightClick(javax.swing.tree.TreeNode node, java.awt.Point pt)
           
 boolean hasQuotedDimension()
           
 void performFind()
           
 void performFind(FindRequest request)
           
 void setCalcScript(boolean value)
           
 void setData(Representation r)
           
 void setData(Representation r, Member[] dimensions)
          sets that data for this list box.
 void setData(java.lang.String aliasTableName, Representation r)
           
 void setEditorAction(ScriptEditorAction editorAction)
           
 void setEditTabPane(EditorTabbedPane editTabPane)
           
 void setEssbaseTextEditor(TextEditor editor)
          Sets the editor which will be fed member names from double clicking on this tree
 void setMDX(boolean value)
           
 void setQuotedDimension(boolean hasQuotedDimensions)
           
 void setSelectionQuoteChars(char begin, char end)
           
 void setViewType(short view)
           
 void showServerNameOnRoot(boolean show)
           
 void updateChildMembers(MemberTreeNode tnode, int startIndex)
           
 void updateFindResults(java.util.Collection c)
          updates the find panel with a batch of results from find.
 void useAliasTable(java.lang.String aliasTableName)
           
 void willExpand(MemberTreeNode node)
           

 

Methods inherited from class com.essbase.eas.ui.tree.RAFTree
collapseAncestor, expandBranch, expandChildren, getRAFModel, getRoot, init, paint

 

Methods inherited from class javax.swing.JTree
addSelectionInterval, addSelectionPath, addSelectionPaths, addSelectionRow, addSelectionRows, addTreeExpansionListener, addTreeSelectionListener, addTreeWillExpandListener, cancelEditing, clearSelection, clearToggledPaths, collapsePath, collapseRow, convertValueToText, createTreeModel, createTreeModelListener, expandPath, expandRow, fireTreeCollapsed, fireTreeExpanded, fireTreeWillCollapse, fireTreeWillExpand, fireValueChanged, getAccessibleContext, getAnchorSelectionPath, getCellEditor, getCellRenderer, getClosestPathForLocation, getClosestRowForLocation, getDefaultTreeModel, getDescendantToggledPaths, getDragEnabled, getDropLocation, getDropMode, getEditingPath, getExpandedDescendants, getExpandsSelectedPaths, getInvokesStopCellEditing, getLastSelectedPathComponent, getLeadSelectionPath, getLeadSelectionRow, getMaxSelectionRow, getMinSelectionRow, getModel, getNextMatch, getPathBetweenRows, getPathBounds, getPathForLocation, getPathForRow, getPreferredScrollableViewportSize, getRowBounds, getRowCount, getRowForLocation, getRowForPath, getRowHeight, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getScrollsOnExpand, getSelectionCount, getSelectionModel, getSelectionPath, getSelectionPaths, getSelectionRows, getShowsRootHandles, getToggleClickCount, getToolTipText, getTreeExpansionListeners, getTreeSelectionListeners, getTreeWillExpandListeners, getUI, getUIClassID, getVisibleRowCount, hasBeenExpanded, isCollapsed, isCollapsed, isEditable, isEditing, isExpanded, isExpanded, isFixedRowHeight, isLargeModel, isPathEditable, isPathSelected, isRootVisible, isRowSelected, isSelectionEmpty, isVisible, makeVisible, paramString, removeDescendantSelectedPaths, removeDescendantToggledPaths, removeSelectionInterval, removeSelectionPath, removeSelectionPaths, removeSelectionRow, removeSelectionRows, removeTreeExpansionListener, removeTreeSelectionListener, removeTreeWillExpandListener, scrollPathToVisible, scrollRowToVisible, setAnchorSelectionPath, setCellEditor, setCellRenderer, setDragEnabled, setDropMode, setEditable, setExpandedState, setExpandsSelectedPaths, setInvokesStopCellEditing, setLargeModel, setLeadSelectionPath, setModel, setRootVisible, setRowHeight, setScrollsOnExpand, setSelectionInterval, setSelectionModel, setSelectionPath, setSelectionPaths, setSelectionRow, setSelectionRows, setShowsRootHandles, setToggleClickCount, setUI, setVisibleRowCount, startEditingAtPath, stopEditing, treeDidChange, updateUI

 

Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update

 

Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree

 

Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle

 

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

 

Field Detail

CHILD_BLOCK_SIZE

protected static final int CHILD_BLOCK_SIZE
See Also:
Constant Field Values

VIEWBY_DIMENSION

public static final short VIEWBY_DIMENSION
See Also:
Constant Field Values

VIEWBY_LEVEL

public static final short VIEWBY_LEVEL
See Also:
Constant Field Values

VIEWBY_GENERATIONS

public static final short VIEWBY_GENERATIONS
See Also:
Constant Field Values

VIEWBY_TMSERIES

public static final short VIEWBY_TMSERIES
See Also:
Constant Field Values

representation

protected Representation representation

textEditor

protected TextEditor textEditor

popMenu

protected javax.swing.JPopupMenu popMenu

findMember

protected javax.swing.JMenuItem findMember

expandChildrenItem

protected javax.swing.JMenuItem expandChildrenItem

expandDescendItem

protected javax.swing.JMenuItem expandDescendItem

expandOutlineItem

protected javax.swing.JMenuItem expandOutlineItem

collapseAncestorItem

protected javax.swing.JMenuItem collapseAncestorItem

editorItem

protected javax.swing.JMenuItem editorItem

aliasTableName

protected java.lang.String aliasTableName

adapter

protected TreeAdapter adapter

mouAdapter

protected TreeMouseAdapter mouAdapter

editorAction

protected javax.swing.AbstractAction editorAction

findAction

protected javax.swing.AbstractAction findAction

expandChildrenAction

protected javax.swing.AbstractAction expandChildrenAction

expandDescendantsAction

protected javax.swing.AbstractAction expandDescendantsAction

expandOutlineAction

protected javax.swing.AbstractAction expandOutlineAction

collapseAncestorAction

protected java.awt.event.ActionListener collapseAncestorAction

viewBy

protected short viewBy

bShowServerName

protected boolean bShowServerName

editTabPane

protected EditorTabbedPane editTabPane

hasQuotedDimensions

protected boolean hasQuotedDimensions

quoteBegin

protected char quoteBegin

quoteEnd

protected char quoteEnd

isCalcScript

protected boolean isCalcScript

needsLongAttributeName

protected boolean needsLongAttributeName

scriptEditorAction

protected ScriptEditorAction scriptEditorAction

Constructor Detail

MemberTree

public MemberTree()

Method Detail

setEssbaseTextEditor

public void setEssbaseTextEditor(TextEditor editor)
Sets the editor which will be fed member names from double clicking on this tree

setData

public void setData(Representation r)

setEditorAction

public void setEditorAction(ScriptEditorAction editorAction)

setData

public void setData(java.lang.String aliasTableName,
                    Representation r)

clear

public void clear()

setData

public void setData(Representation r,
                    Member[] dimensions)
sets that data for this list box.

willExpand

public void willExpand(MemberTreeNode node)

getMemberForNode

public Member getMemberForNode(MemberTreeNode node)

updateChildMembers

public void updateChildMembers(MemberTreeNode tnode,
                               int startIndex)

setSelectionQuoteChars

public void setSelectionQuoteChars(char begin,
                                   char end)

getStartQuote

protected char getStartQuote()

getEndQuote

protected char getEndQuote()

setCalcScript

public void setCalcScript(boolean value)

getLongNameForMember

public java.lang.String getLongNameForMember(Member m)

handleRightClick

public void handleRightClick(int x,
                             int y)

handleRightClick

public void handleRightClick(javax.swing.tree.TreeNode node,
                             java.awt.Point pt)

getContextMenuItems

public void getContextMenuItems()

useAliasTable

public void useAliasTable(java.lang.String aliasTableName)

getAliasTableName

public java.lang.String getAliasTableName()

performFind

public void performFind()

performFind

public void performFind(FindRequest request)

displayMember

public boolean displayMember(Member m)

getTree

public javax.swing.JTree getTree()

updateFindResults

public void updateFindResults(java.util.Collection c)
Description copied from interface: FindResultsProcessor
updates the find panel with a batch of results from find.
Specified by:
updateFindResults in interface FindResultsProcessor

getSourceTitle

public java.lang.String getSourceTitle()
Specified by:
getSourceTitle in interface FindResultsProcessor

getTabbedPane

protected EditorTabbedPane getTabbedPane()

setEditTabPane

public void setEditTabPane(EditorTabbedPane editTabPane)

hasQuotedDimension

public boolean hasQuotedDimension()

setQuotedDimension

public void setQuotedDimension(boolean hasQuotedDimensions)

setViewType

public void setViewType(short view)

showServerNameOnRoot

public void showServerNameOnRoot(boolean show)

handleDoubleClick

public void handleDoubleClick()

dispose

public void dispose()
Overrides:
dispose in class RAFTree

setMDX

public void setMDX(boolean value)

Skip navigation links


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