Skip navigation links


com.essbase.eas.essbase.ui.outline
Class ViewerFrame

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JInternalFrame
                  extended by com.essbase.eas.client.intf.CInternalFrame
                      extended by com.essbase.eas.essbase.ui.windows.EInternalFrame
                          extended by com.essbase.eas.essbase.ui.outline.OutlineFrame
                              extended by com.essbase.eas.essbase.ui.outline.ViewerFrame

All Implemented Interfaces:
FindResultsFileProcessor, SaveAsRequestor, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class ViewerFrame
extends OutlineFrame
implements FindResultsFileProcessor

implements an console internal frame for outline viewing. The frame consists of several internal layers of controls. We have tried to abstract each of the components so that they can be used in either a viewer or an editor.

Version:
1.00, 03/28/2001
Author:
Hank Cox
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class javax.swing.JInternalFrame
javax.swing.JInternalFrame.AccessibleJInternalFrame, javax.swing.JInternalFrame.JDesktopIcon

 

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

 

Fields inherited from class com.essbase.eas.essbase.ui.outline.OutlineFrame
buttons, closeBtn, helpBtn, representation

 

Fields inherited from class com.essbase.eas.essbase.ui.windows.EInternalFrame
bundle

 

Fields inherited from class com.essbase.eas.client.intf.CInternalFrame
BOUNDS, bSaveBounds, cursor, dialogResult, disposed, frameIcon, helpAction, IS_TOOLBARSTATE_CHANGED, m_iCursor, m_toolbar, propertySupport, savedBounds

 

Fields inherited from class javax.swing.JInternalFrame
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY

 

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 javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE

 

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

 

Constructor Summary
protected ViewerFrame(Database db, Identifier ident)
           

 

Method Summary
 void attachPanelToViewer(java.lang.String title, javax.swing.JPanel panel)
           
 void detachPanelFromViewer(javax.swing.JPanel panel)
           
 void dispose()
           
 void frameOpened()
           
 VTree getActiveTree()
           
 java.awt.Component[] getFrameMenus()
          returns the menu items that this object needs merged into the main menu.
 java.lang.String getSourceTitle()
           
protected  java.lang.String getTitleKey()
          implementation of the OutlineFrame.getTitleKey() method.
 VTreeModel getTreeModel()
           
 ViewerOptions getViewerOptions()
          returns the viewer options for this frame.
 boolean isPanelAdded(javax.swing.JPanel panel)
           
 boolean isPrintable()
           
 void launchAttributeViewer()
           
static ViewerFrame locateViewerAncestor(java.awt.Component start)
          walks up a container chain looking for an instance of a ViewerFrame object.
 void performDisplayMember(Member member)
           
 void performFind()
           
 void performFind(FindRequest request)
           
 void requestFocus()
           
 void setActiveTree(VTree tree)
           
 void setTreeModel(VTreeModel model)
           
static ViewerFrame showFrame(Database db)
           
 void startPrinting(CPrintable print)
           
 void updateFindResults(java.util.Collection c)
           
 void updateFindResults(IndexMemberAccessFile file)
          updates the find panel with a batch of results from find.

 

Methods inherited from class com.essbase.eas.essbase.ui.outline.OutlineFrame
addFrameListener, getRepresentation, isPrintAll, isPrintOutlineOnly, isThisYou, locateFrameAncestor, printPriviewWindow, printWindow, removeFrameListener, setRepresentation, sourceDisconnecting, sourceRenamed, updateTitle

 

Methods inherited from class com.essbase.eas.essbase.ui.windows.EInternalFrame
frameClosed, getBundleClass, getUserObject, objectAdded, objectModified, objectRemoved, saveAsObject, setUserObject, sourceConnected, sourceDisconnected, sourceRemoved

 

Methods inherited from class com.essbase.eas.client.intf.CInternalFrame
addPropertyChangeListener, addPropertyChangeListener, addToDesktop, emailWindow, fireStateChanged, frameActivated, frameClosing, frameDeactivated, frameDeiconified, frameIconified, getObjectsToEmail, getPrintMenuText, getPrintTip, getSaveAsMenuText, getSaveMenuText, getSaveTip, getToolbar, initExtraComponents, initSaveAsDialogComponents, isEmailable, isExiting, isModified, isPreviewable, isSaveable, jbInit, processEvent, removePropertyChangeListener, saveAsWindow, saveBounds, saveOnClosing, saveWindow, setCursor, setExiting, setFocusComponent, setReadBounds, setSaveBounds, setTitle, toString

 

Methods inherited from class javax.swing.JInternalFrame
addImpl, addInternalFrameListener, createRootPane, doDefaultCloseAction, fireInternalFrameEvent, getAccessibleContext, getContentPane, getDefaultCloseOperation, getDesktopIcon, getDesktopPane, getFocusCycleRootAncestor, getFocusOwner, getFrameIcon, getGlassPane, getInternalFrameListeners, getJMenuBar, getLastCursor, getLayer, getLayeredPane, getMenuBar, getMostRecentFocusOwner, getNormalBounds, getRootPane, getTitle, getUI, getUIClassID, getWarningString, hide, isClosable, isClosed, isFocusCycleRoot, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isRootPaneCheckingEnabled, isSelected, moveToBack, moveToFront, pack, paintComponent, paramString, remove, removeInternalFrameListener, reshape, restoreSubcomponentFocus, setClosable, setClosed, setContentPane, setCursor, setDefaultCloseOperation, setDesktopIcon, setFocusCycleRoot, setFrameIcon, setGlassPane, setIcon, setIconifiable, setJMenuBar, setLayer, setLayer, setLayeredPane, setLayout, setMaximizable, setMaximum, setMenuBar, setNormalBounds, setResizable, setRootPane, setRootPaneCheckingEnabled, setSelected, setUI, show, toBack, toFront, 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, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, 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, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, 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, 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, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, transferFocus, transferFocusUpCycle

 

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

 

Constructor Detail

ViewerFrame

protected ViewerFrame(Database db,
                      Identifier ident)

Method Detail

showFrame

public static ViewerFrame showFrame(Database db)

getViewerOptions

public ViewerOptions getViewerOptions()
returns the viewer options for this frame.

locateViewerAncestor

public static ViewerFrame locateViewerAncestor(java.awt.Component start)
walks up a container chain looking for an instance of a ViewerFrame object. Returns this object if one is found; returns NULL if one isn't found.

getTitleKey

protected java.lang.String getTitleKey()
implementation of the OutlineFrame.getTitleKey() method.
Specified by:
getTitleKey in class OutlineFrame

isPrintable

public boolean isPrintable()
Overrides:
isPrintable in class CInternalFrame

startPrinting

public void startPrinting(CPrintable print)
Overrides:
startPrinting in class CInternalFrame

performFind

public void performFind()

launchAttributeViewer

public void launchAttributeViewer()

attachPanelToViewer

public void attachPanelToViewer(java.lang.String title,
                                javax.swing.JPanel panel)

detachPanelFromViewer

public void detachPanelFromViewer(javax.swing.JPanel panel)

isPanelAdded

public boolean isPanelAdded(javax.swing.JPanel panel)

performFind

public void performFind(FindRequest request)

performDisplayMember

public void performDisplayMember(Member member)

updateFindResults

public void updateFindResults(IndexMemberAccessFile file)
Description copied from interface: FindResultsFileProcessor
updates the find panel with a batch of results from find.
Specified by:
updateFindResults in interface FindResultsFileProcessor

updateFindResults

public void updateFindResults(java.util.Collection c)

getSourceTitle

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

frameOpened

public void frameOpened()
Overrides:
frameOpened in class CInternalFrame

getTreeModel

public VTreeModel getTreeModel()

setTreeModel

public void setTreeModel(VTreeModel model)

getFrameMenus

public java.awt.Component[] getFrameMenus()
Description copied from class: CInternalFrame
returns the menu items that this object needs merged into the main menu.
Overrides:
getFrameMenus in class CInternalFrame

getActiveTree

public VTree getActiveTree()

setActiveTree

public void setActiveTree(VTree tree)

requestFocus

public void requestFocus()
Overrides:
requestFocus in class javax.swing.JComponent

dispose

public void dispose()
Overrides:
dispose in class OutlineFrame

Skip navigation links


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