Skip navigation links


com.essbase.eas.essbase.ui.windows
Class ReportEditorFrame

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.script.ScriptEditorFrame
                              extended by com.essbase.eas.essbase.ui.windows.ReportEditorFrame

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

public class ReportEditorFrame
extends ScriptEditorFrame
implements ScriptEditorAction

Implementation of a ScriptEditorFrame that can be used to edit Essbase report scripts.

Version:
1.00, 08/16/2000
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
static java.lang.String ERRORWRITINGFILE_KEY
           
static java.lang.String UNTITLED_KEY
           

 

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
ReportEditorFrame(java.io.File file)
           
ReportEditorFrame(java.lang.Object obj)
           

 

Method Summary
 void dispose()
           
 boolean doSaveWindow()
           
 void executeScript()
           
 void expandEditor()
           
 void frameClosing()
           
 void frameOpened()
           
 java.awt.Font getEditorFont()
           
 java.awt.Component[] getFrameMenus()
          returns the menu items that report editor needs merged into the main menu.
 ReportEditorModel getModel()
           
 int getObjectType()
           
 void handleAction(Member member, MemberTree tree, char startQuote, char endQuote)
           
 void initExtraComponents(javax.swing.JPanel panel)
           
 void initSaveAsDialogComponents(javax.swing.JTabbedPane mainPanel)
           
static ReportEditorFrame installNewFrame()
           
static ReportEditorFrame installNewFrame(Database db)
           
static ReportEditorFrame installNewFrame(java.io.File file)
           
static ReportEditorFrame installNewFrame(java.lang.Object obj)
           
 boolean isLocked()
           
 boolean isModified()
           
 boolean isPrintable()
           
 boolean isSaveable()
           
 boolean isThisYou(java.lang.Object obj)
          implementation of the CInternalFrame.isThisYou() method.
protected  void jbInit()
          initialization routine.
 boolean saveAsObject(java.lang.Object saveObject)
           
 void saveWindow()
           
 void setEditorFont(java.awt.Font f)
           
 void setFocusComponent()
           
 void setLocked(boolean lock)
           
 void setLockNAssociateStates()
           
 void setMaximum(boolean b)
           
 void setReportScriptText(java.lang.String text)
           
 void setSelected(boolean selected)
           
 void startPrinting(CPrintable print)
           
 boolean verifyPermissions(java.lang.Object obj)
           
 boolean verifyScript(AssociatedObject associatedObj, TextEditor textEditor)
           

 

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

 

Methods inherited from class com.essbase.eas.client.intf.CInternalFrame
addPropertyChangeListener, addPropertyChangeListener, addToDesktop, emailWindow, fireStateChanged, frameActivated, frameDeactivated, frameDeiconified, frameIconified, getObjectsToEmail, getPrintMenuText, getPrintTip, getSaveAsMenuText, getSaveMenuText, getSaveTip, getToolbar, isEmailable, isExiting, isPreviewable, printPriviewWindow, printWindow, processEvent, removePropertyChangeListener, saveAsWindow, saveBounds, saveOnClosing, setCursor, setExiting, 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, setMenuBar, setNormalBounds, setResizable, setRootPane, setRootPaneCheckingEnabled, 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, 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

 

Field Detail

ERRORWRITINGFILE_KEY

public static final java.lang.String ERRORWRITINGFILE_KEY
See Also:
Constant Field Values

UNTITLED_KEY

public static final java.lang.String UNTITLED_KEY
See Also:
Constant Field Values

Constructor Detail

ReportEditorFrame

public ReportEditorFrame(java.io.File file)
                  throws java.lang.Exception
Throws:
java.lang.Exception

ReportEditorFrame

public ReportEditorFrame(java.lang.Object obj)
                  throws java.lang.Exception
Throws:
java.lang.Exception

Method Detail

installNewFrame

public static ReportEditorFrame installNewFrame(java.io.File file)

installNewFrame

public static ReportEditorFrame installNewFrame(java.lang.Object obj)

installNewFrame

public static ReportEditorFrame installNewFrame(Database db)

installNewFrame

public static ReportEditorFrame installNewFrame()

jbInit

protected void jbInit()
               throws java.lang.Exception
Description copied from class: CInternalFrame
initialization routine. Inherited classes should override this method and change any of the defaults that the CInternalFrame sets.
Overrides:
jbInit in class CInternalFrame
Throws:
java.lang.Exception

getFrameMenus

public java.awt.Component[] getFrameMenus()
returns the menu items that report editor needs merged into the main menu.
Overrides:
getFrameMenus in class CInternalFrame

isSaveable

public boolean isSaveable()
Overrides:
isSaveable in class CInternalFrame

isModified

public boolean isModified()
Overrides:
isModified in class CInternalFrame

saveWindow

public void saveWindow()
Overrides:
saveWindow in class CInternalFrame

doSaveWindow

public boolean doSaveWindow()

getObjectType

public int getObjectType()

executeScript

public void executeScript()
Specified by:
executeScript in class ScriptEditorFrame

setSelected

public void setSelected(boolean selected)
Overrides:
setSelected in class javax.swing.JInternalFrame

isThisYou

public boolean isThisYou(java.lang.Object obj)
implementation of the CInternalFrame.isThisYou() method.
Overrides:
isThisYou in class EInternalFrame

isPrintable

public boolean isPrintable()
Overrides:
isPrintable in class CInternalFrame

startPrinting

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

setLocked

public void setLocked(boolean lock)

isLocked

public boolean isLocked()

dispose

public void dispose()
Overrides:
dispose in class EInternalFrame

initSaveAsDialogComponents

public void initSaveAsDialogComponents(javax.swing.JTabbedPane mainPanel)
Specified by:
initSaveAsDialogComponents in interface SaveAsRequestor
Overrides:
initSaveAsDialogComponents in class CInternalFrame

initExtraComponents

public void initExtraComponents(javax.swing.JPanel panel)
Specified by:
initExtraComponents in interface SaveAsRequestor
Overrides:
initExtraComponents in class CInternalFrame

setFocusComponent

public void setFocusComponent()
Specified by:
setFocusComponent in interface SaveAsRequestor
Overrides:
setFocusComponent in class CInternalFrame

saveAsObject

public boolean saveAsObject(java.lang.Object saveObject)
Specified by:
saveAsObject in interface SaveAsRequestor
Overrides:
saveAsObject in class EInternalFrame

getEditorFont

public java.awt.Font getEditorFont()

setEditorFont

public void setEditorFont(java.awt.Font f)

setReportScriptText

public void setReportScriptText(java.lang.String text)

verifyPermissions

public boolean verifyPermissions(java.lang.Object obj)

setLockNAssociateStates

public void setLockNAssociateStates()
                             throws EditCancelledException
Throws:
EditCancelledException

getModel

public ReportEditorModel getModel()

frameOpened

public void frameOpened()
Overrides:
frameOpened in class CInternalFrame

frameClosing

public void frameClosing()
Overrides:
frameClosing in class CInternalFrame

setMaximum

public void setMaximum(boolean b)
                throws java.beans.PropertyVetoException
Overrides:
setMaximum in class javax.swing.JInternalFrame
Throws:
java.beans.PropertyVetoException

verifyScript

public boolean verifyScript(AssociatedObject associatedObj,
                            TextEditor textEditor)
Specified by:
verifyScript in class ScriptEditorFrame

handleAction

public void handleAction(Member member,
                         MemberTree tree,
                         char startQuote,
                         char endQuote)
Specified by:
handleAction in interface ScriptEditorAction

expandEditor

public void expandEditor()
Specified by:
expandEditor in class ScriptEditorFrame

Skip navigation links


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