|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTree
com.essbase.eas.ui.tree.RAFTree
com.essbase.eas.essbase.ui.editor.mtree2.MemberTree
public class MemberTree
defines a member attribute tree.
| 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 |
|---|
protected static final int CHILD_BLOCK_SIZE
public static final short VIEWBY_DIMENSION
public static final short VIEWBY_LEVEL
public static final short VIEWBY_GENERATIONS
public static final short VIEWBY_TMSERIES
protected Representation representation
protected TextEditor textEditor
protected javax.swing.JPopupMenu popMenu
protected javax.swing.JMenuItem findMember
protected javax.swing.JMenuItem expandChildrenItem
protected javax.swing.JMenuItem expandDescendItem
protected javax.swing.JMenuItem expandOutlineItem
protected javax.swing.JMenuItem collapseAncestorItem
protected javax.swing.JMenuItem editorItem
protected java.lang.String aliasTableName
protected TreeAdapter adapter
protected TreeMouseAdapter mouAdapter
protected javax.swing.AbstractAction editorAction
protected javax.swing.AbstractAction findAction
protected javax.swing.AbstractAction expandChildrenAction
protected javax.swing.AbstractAction expandDescendantsAction
protected javax.swing.AbstractAction expandOutlineAction
protected java.awt.event.ActionListener collapseAncestorAction
protected short viewBy
protected boolean bShowServerName
protected EditorTabbedPane editTabPane
protected boolean hasQuotedDimensions
protected char quoteBegin
protected char quoteEnd
protected boolean isCalcScript
protected boolean needsLongAttributeName
protected ScriptEditorAction scriptEditorAction
| Constructor Detail |
|---|
public MemberTree()
| Method Detail |
|---|
public void setEssbaseTextEditor(TextEditor editor)
public void setData(Representation r)
public void setEditorAction(ScriptEditorAction editorAction)
public void setData(java.lang.String aliasTableName,
Representation r)
public void clear()
public void setData(Representation r,
Member[] dimensions)
public void willExpand(MemberTreeNode node)
public Member getMemberForNode(MemberTreeNode node)
public void updateChildMembers(MemberTreeNode tnode,
int startIndex)
public void setSelectionQuoteChars(char begin,
char end)
protected char getStartQuote()
protected char getEndQuote()
public void setCalcScript(boolean value)
public java.lang.String getLongNameForMember(Member m)
public void handleRightClick(int x,
int y)
public void handleRightClick(javax.swing.tree.TreeNode node,
java.awt.Point pt)
public void getContextMenuItems()
public void useAliasTable(java.lang.String aliasTableName)
public java.lang.String getAliasTableName()
public void performFind()
public void performFind(FindRequest request)
public boolean displayMember(Member m)
public javax.swing.JTree getTree()
public void updateFindResults(java.util.Collection c)
FindResultsProcessorupdateFindResults in interface FindResultsProcessorpublic java.lang.String getSourceTitle()
getSourceTitle in interface FindResultsProcessorprotected EditorTabbedPane getTabbedPane()
public void setEditTabPane(EditorTabbedPane editTabPane)
public boolean hasQuotedDimension()
public void setQuotedDimension(boolean hasQuotedDimensions)
public void setViewType(short view)
public void showServerNameOnRoot(boolean show)
public void handleDoubleClick()
public void dispose()
dispose in class RAFTreepublic void setMDX(boolean value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||