Skip navigation links


com.essbase.eas.essbase.ui.scripting
Class ScriptingView

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.scripting.ScriptingView

All Implemented Interfaces:
BasePropertyListener, SaveAsRequestor, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants
Direct Known Subclasses:
MaxlView, MDXView

public class ScriptingView
extends CInternalFrame
implements BasePropertyListener, SaveAsRequestor
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
protected  ScriptingAction actions
           
protected  boolean cancelling
           
protected  boolean closable
           
protected  ScriptingStatementContext context
           
protected  EASSavePanel easPanel
           
protected  short encoding
           
protected  javax.swing.JLabel encodingLabel
           
protected  boolean executing
           
protected  DefaultFileFilter filter
           
protected  boolean ignoredCommands
           
protected  boolean localePanelAdded
           
protected  boolean m_bShowingResult
           
protected  TextEditor m_editor
           
protected  ScriptingProperty m_optionList
           
protected  java.lang.String m_pwd
           
protected  java.lang.String m_server
           
protected  javax.swing.JSplitPane m_splitPane
           
protected  java.lang.String m_strDocTitle
           
protected  java.lang.String m_strTitle
           
protected  ScriptingResultView m_tab
           
protected  java.lang.String m_user
           
protected  BaseProperties m_varList
           
protected  javax.swing.JTabbedPane mainPanel
           
protected  ScriptingMenu menu
           
protected  java.util.Vector refCommands
           
protected  ScriptingCommands scriptingCommands
           
protected  ServerCombo serverCombo
           
protected  java.lang.Object source
           
protected  javax.swing.JCheckBox utf8CB
           

 

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
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
ScriptingView()
           

 

Method Summary
protected  void addScriptObjects()
           
 boolean checkToSave(boolean bCancel)
           
 void dispose()
           
 boolean execute()
           
 void frameClosing()
           
protected  void frameDeiconified()
           
protected  void frameIconified()
           
 void frameOpened()
           
protected  ScriptingCommands getCommandParser()
           
protected  ScriptingCommands getCommandsFromDialog(ScriptingCommands theCommands)
           
protected  java.lang.String getDocTitleString()
           
 TextEditor getEditorFrame()
           
protected  java.lang.String getEssbaseObjFileString()
           
protected  java.lang.String getFileSuffix()
           
 java.awt.Component[] getFrameMenus()
          returns the menu items that this object needs merged into the main menu.
protected  java.lang.String getHelpFileStringKey()
           
protected  java.awt.Container getMainPane()
           
protected  ScriptingMenu getMenu()
           
protected  ScriptingMenu getNewMenu()
           
protected  ScriptingProperty getNewOptionList()
           
 java.lang.Object[] getObjectsToEmail()
           
 java.lang.String getPrintMenuText()
           
 java.lang.String getPrintTip()
           
protected  java.lang.String getResFileString()
           
protected  ScriptingResultView getResultView()
           
protected  ScriptingResultView getResultView(ScriptingProperty theProperty)
           
 java.lang.String getSaveAsMenuText()
           
 java.lang.String getSaveMenuText()
           
protected  java.lang.String getSaveResultFilterString()
           
 java.lang.String getSaveTip()
           
 Server getSelectedServer()
           
protected  java.lang.String getServerString()
           
protected static java.lang.String getString(java.lang.String key)
           
protected  DefaultEditorTokenMarker getTokenMarker()
           
 void initExtraComponents(javax.swing.JPanel extraPanel)
           
 void initSaveAsDialogComponents(javax.swing.JTabbedPane mainPanel)
           
 boolean isClosable()
           
 boolean isEmailable()
           
 boolean isModified()
           
 boolean isPreviewable()
           
 boolean isPrintable()
           
 boolean isSaveable()
           
protected  EditToken newEditToken(java.lang.String command)
           
 void onPropertyChange(java.lang.String strId, java.lang.Object oldValue, java.lang.Object newValue)
           
 boolean onSave()
           
 boolean onSaveAs()
           
 boolean openFile(java.io.File _file)
           
 boolean openFile(java.lang.String file)
           
 boolean openFile(java.lang.String file, java.lang.String directory)
           
 boolean openObject(EssbaseEASObject o)
           
 void openObject(java.lang.Object o)
           
protected  int parseToken(java.lang.String command, int index)
           
 boolean saveAsObject(java.lang.Object saveObject)
           
 void saveAsWindow()
           
 boolean saveToFile(java.io.File file, boolean saveAs)
           
 boolean saveToFile(java.lang.String strFileName, boolean saveAs)
           
 void saveWindow()
           
 void serverSelectionChanged()
           
 void setFocusComponent()
           
 void setIcon(boolean b)
           
 void setSelected(boolean selected)
           
 void showCommands()
           
protected  void showResult(boolean bShow)
           
protected  void startPrinting(CPrintable print)
           

 

Methods inherited from class com.essbase.eas.client.intf.CInternalFrame
addPropertyChangeListener, addPropertyChangeListener, addToDesktop, emailWindow, fireStateChanged, frameActivated, frameClosed, frameDeactivated, getToolbar, isExiting, isThisYou, jbInit, printPriviewWindow, printWindow, processEvent, removePropertyChangeListener, 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, 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, setIconifiable, setJMenuBar, setLayer, setLayer, setLayeredPane, setLayout, setMaximizable, setMaximum, 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

scriptingCommands

protected ScriptingCommands scriptingCommands

m_splitPane

protected javax.swing.JSplitPane m_splitPane

m_editor

protected TextEditor m_editor

m_varList

protected BaseProperties m_varList

serverCombo

protected ServerCombo serverCombo

m_optionList

protected ScriptingProperty m_optionList

m_tab

protected ScriptingResultView m_tab

m_strTitle

protected java.lang.String m_strTitle

m_strDocTitle

protected java.lang.String m_strDocTitle

m_bShowingResult

protected boolean m_bShowingResult

m_user

protected java.lang.String m_user

m_pwd

protected java.lang.String m_pwd

m_server

protected java.lang.String m_server

actions

protected ScriptingAction actions

menu

protected ScriptingMenu menu

source

protected java.lang.Object source

refCommands

protected java.util.Vector refCommands

context

protected ScriptingStatementContext context

closable

protected boolean closable

encoding

protected short encoding

cancelling

protected boolean cancelling

executing

protected boolean executing

ignoredCommands

protected boolean ignoredCommands

easPanel

protected EASSavePanel easPanel

mainPanel

protected javax.swing.JTabbedPane mainPanel

localePanelAdded

protected boolean localePanelAdded

encodingLabel

protected javax.swing.JLabel encodingLabel

utf8CB

protected javax.swing.JCheckBox utf8CB

filter

protected DefaultFileFilter filter

Constructor Detail

ScriptingView

public ScriptingView()

Method Detail

getHelpFileStringKey

protected java.lang.String getHelpFileStringKey()

getNewOptionList

protected ScriptingProperty getNewOptionList()

getResultView

protected ScriptingResultView getResultView(ScriptingProperty theProperty)

getResultView

protected ScriptingResultView getResultView()

getMenu

protected ScriptingMenu getMenu()

getNewMenu

protected ScriptingMenu getNewMenu()

getCommandParser

protected ScriptingCommands getCommandParser()

openFile

public boolean openFile(java.lang.String file)

openFile

public boolean openFile(java.lang.String file,
                        java.lang.String directory)

openFile

public boolean openFile(java.io.File _file)

openObject

public void openObject(java.lang.Object o)

openObject

public boolean openObject(EssbaseEASObject o)

getDocTitleString

protected java.lang.String getDocTitleString()

getServerString

protected java.lang.String getServerString()

getSelectedServer

public Server getSelectedServer()

execute

public boolean execute()

newEditToken

protected EditToken newEditToken(java.lang.String command)

getResFileString

protected java.lang.String getResFileString()

getEssbaseObjFileString

protected java.lang.String getEssbaseObjFileString()

getFileSuffix

protected java.lang.String getFileSuffix()

parseToken

protected int parseToken(java.lang.String command,
                         int index)

onSave

public boolean onSave()

onSaveAs

public boolean onSaveAs()

saveToFile

public boolean saveToFile(java.lang.String strFileName,
                          boolean saveAs)

saveToFile

public boolean saveToFile(java.io.File file,
                          boolean saveAs)

checkToSave

public boolean checkToSave(boolean bCancel)

setSelected

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

setIcon

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

onPropertyChange

public void onPropertyChange(java.lang.String strId,
                             java.lang.Object oldValue,
                             java.lang.Object newValue)
Specified by:
onPropertyChange in interface BasePropertyListener

isPrintable

public boolean isPrintable()
Overrides:
isPrintable 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

saveAsWindow

public void saveAsWindow()
Overrides:
saveAsWindow in class CInternalFrame

startPrinting

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

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

showResult

protected void showResult(boolean bShow)

getSaveTip

public java.lang.String getSaveTip()
Overrides:
getSaveTip in class CInternalFrame

getPrintTip

public java.lang.String getPrintTip()
Overrides:
getPrintTip in class CInternalFrame

getSaveMenuText

public java.lang.String getSaveMenuText()
Overrides:
getSaveMenuText in class CInternalFrame

getSaveAsMenuText

public java.lang.String getSaveAsMenuText()
Overrides:
getSaveAsMenuText in class CInternalFrame

getPrintMenuText

public java.lang.String getPrintMenuText()
Overrides:
getPrintMenuText in class CInternalFrame

isPreviewable

public boolean isPreviewable()
Overrides:
isPreviewable in class CInternalFrame

serverSelectionChanged

public void serverSelectionChanged()

getString

protected static java.lang.String getString(java.lang.String key)

isEmailable

public boolean isEmailable()
Overrides:
isEmailable in class CInternalFrame

getObjectsToEmail

public java.lang.Object[] getObjectsToEmail()
Overrides:
getObjectsToEmail in class CInternalFrame

frameOpened

public void frameOpened()
Overrides:
frameOpened in class CInternalFrame

frameClosing

public void frameClosing()
Overrides:
frameClosing in class CInternalFrame

getCommandsFromDialog

protected ScriptingCommands getCommandsFromDialog(ScriptingCommands theCommands)

showCommands

public void showCommands()

isClosable

public boolean isClosable()
Overrides:
isClosable in class javax.swing.JInternalFrame

dispose

public void dispose()
Overrides:
dispose in class CInternalFrame

addScriptObjects

protected void addScriptObjects()

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 extraPanel)
Specified by:
initExtraComponents in interface SaveAsRequestor
Overrides:
initExtraComponents in class CInternalFrame

saveAsObject

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

setFocusComponent

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

getSaveResultFilterString

protected java.lang.String getSaveResultFilterString()

getEditorFrame

public TextEditor getEditorFrame()

frameIconified

protected void frameIconified()
Overrides:
frameIconified in class CInternalFrame

frameDeiconified

protected void frameDeiconified()
Overrides:
frameDeiconified in class CInternalFrame

getMainPane

protected java.awt.Container getMainPane()

getTokenMarker

protected DefaultEditorTokenMarker getTokenMarker()

Skip navigation links


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