Skip navigation links


com.essbase.eas.client.intf
Class CInternalFrame

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

All Implemented Interfaces:
SaveAsRequestor, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants
Direct Known Subclasses:
AdminServerPropertiesFrame, AsyncProcessStatusFrame, BuildNotesFrame, EInternalFrame, EssCmdEditorFrame, ReadOnlyTextFrame, RulesEditorFrame, ScriptingView, ServerPropertiesFrame, UserPropertiesFrame

public class CInternalFrame
extends javax.swing.JInternalFrame
implements SaveAsRequestor

This class extends the JInternalFrame and provides functionality that is required by any internal frame that is placed into a console application.

Notes: 08/15/2000, hcox: We don't currently enforce any of the semantics around requiring children of a CDesktopPane to be a CInternalFrame. 08/26/2000, hcox: We had to remove the "abstract" property from this class so that JBuilder could instantiate it in the designer. 05/26/2002, jfernand: Added the SaveAsRequestor interface for use with the SaveAsDialog.

Version:
1.00, 08/15/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 BOUNDS
           
protected  boolean bSaveBounds
           
protected  BusyCursor cursor
           
protected  SaveAsDialogResult dialogResult
           
protected  boolean disposed
           
protected  javax.swing.ImageIcon frameIcon
           
protected  GetHelpAction helpAction
           
static java.lang.String IS_TOOLBARSTATE_CHANGED
           
protected  int m_iCursor
           
protected  CToolBar m_toolbar
           
protected  java.util.ArrayList propertySupport
           
protected  java.awt.Rectangle 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
CInternalFrame()
           

 

Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
           
protected  void addToDesktop()
           
 void dispose()
           
 void emailWindow()
           
protected  void fireStateChanged()
           
protected  void frameActivated()
           
 void frameClosed()
           
protected  void frameClosing()
           
protected  void frameDeactivated()
           
protected  void frameDeiconified()
           
protected  void frameIconified()
           
 void frameOpened()
           
 java.awt.Component[] getFrameMenus()
          returns the menu items that this object needs merged into the main menu.
 java.lang.Object[] getObjectsToEmail()
           
 java.lang.String getPrintMenuText()
           
 java.lang.String getPrintTip()
           
 java.lang.String getSaveAsMenuText()
           
 java.lang.String getSaveMenuText()
           
 java.lang.String getSaveTip()
           
 CToolBar getToolbar()
           
 void initExtraComponents(javax.swing.JPanel panel)
           
 void initSaveAsDialogComponents(javax.swing.JTabbedPane mainPanel)
           
 boolean isEmailable()
           
 boolean isExiting()
           
 boolean isModified()
           
 boolean isPreviewable()
           
 boolean isPrintable()
           
 boolean isSaveable()
           
 boolean isThisYou(java.lang.Object obj)
          determines if this instance if for a particular object; for example, a database properties frame would return true if the object is the database.
protected  void jbInit()
          initialization routine.
 void printPriviewWindow()
           
 void printWindow()
           
 void processEvent(java.awt.AWTEvent event)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 boolean saveAsObject(java.lang.Object source)
           
 void saveAsWindow()
           
protected  void saveBounds()
           
 boolean saveOnClosing()
           
 void saveWindow()
           
 void setCursor(boolean bWait)
           
 void setExiting(boolean exitStatus)
           
 void setFocusComponent()
           
protected  void setReadBounds()
           
protected  void setSaveBounds(boolean bSave)
           
 void setTitle(java.lang.String title)
           
protected  void startPrinting(CPrintable print)
           
 java.lang.String 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, 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

IS_TOOLBARSTATE_CHANGED

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

BOUNDS

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

m_toolbar

protected CToolBar m_toolbar

helpAction

protected GetHelpAction helpAction

frameIcon

protected javax.swing.ImageIcon frameIcon

m_iCursor

protected int m_iCursor

disposed

protected boolean disposed

bSaveBounds

protected boolean bSaveBounds

propertySupport

protected java.util.ArrayList propertySupport

dialogResult

protected SaveAsDialogResult dialogResult

cursor

protected BusyCursor cursor

savedBounds

protected java.awt.Rectangle savedBounds

Constructor Detail

CInternalFrame

public CInternalFrame()

Method Detail

jbInit

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

getFrameMenus

public java.awt.Component[] getFrameMenus()
returns the menu items that this object needs merged into the main menu.

isThisYou

public boolean isThisYou(java.lang.Object obj)
determines if this instance if for a particular object; for example, a database properties frame would return true if the object is the database. Inherited classes should override this

isPreviewable

public boolean isPreviewable()

isPrintable

public boolean isPrintable()

isSaveable

public boolean isSaveable()

isModified

public boolean isModified()

isEmailable

public boolean isEmailable()

getToolbar

public CToolBar getToolbar()

saveWindow

public void saveWindow()

saveAsWindow

public void saveAsWindow()

printPriviewWindow

public void printPriviewWindow()

printWindow

public void printWindow()

startPrinting

protected void startPrinting(CPrintable print)

emailWindow

public void emailWindow()

fireStateChanged

protected void fireStateChanged()

setCursor

public void setCursor(boolean bWait)

getSaveTip

public java.lang.String getSaveTip()

getPrintTip

public java.lang.String getPrintTip()

getSaveMenuText

public java.lang.String getSaveMenuText()

getSaveAsMenuText

public java.lang.String getSaveAsMenuText()

getPrintMenuText

public java.lang.String getPrintMenuText()

getObjectsToEmail

public java.lang.Object[] getObjectsToEmail()

saveOnClosing

public boolean saveOnClosing()

toString

public java.lang.String toString()
Overrides:
toString in class java.awt.Component

setTitle

public void setTitle(java.lang.String title)
Overrides:
setTitle in class javax.swing.JInternalFrame

addToDesktop

protected void addToDesktop()

frameOpened

public void frameOpened()

frameClosed

public void frameClosed()

frameIconified

protected void frameIconified()

frameDeiconified

protected void frameDeiconified()

frameActivated

protected void frameActivated()

frameDeactivated

protected void frameDeactivated()

initSaveAsDialogComponents

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

initExtraComponents

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

saveAsObject

public boolean saveAsObject(java.lang.Object source)
Specified by:
saveAsObject in interface SaveAsRequestor

setFocusComponent

public void setFocusComponent()
Specified by:
setFocusComponent in interface SaveAsRequestor

frameClosing

protected void frameClosing()

saveBounds

protected void saveBounds()

setReadBounds

protected void setReadBounds()

setSaveBounds

protected void setSaveBounds(boolean bSave)

setExiting

public void setExiting(boolean exitStatus)

isExiting

public boolean isExiting()

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Overrides:
addPropertyChangeListener in class java.awt.Container

addPropertyChangeListener

public void addPropertyChangeListener(java.lang.String propertyName,
                                      java.beans.PropertyChangeListener listener)
Overrides:
addPropertyChangeListener in class java.awt.Container

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Overrides:
removePropertyChangeListener in class java.awt.Component

processEvent

public void processEvent(java.awt.AWTEvent event)
Overrides:
processEvent in class java.awt.Container

dispose

public void dispose()
Overrides:
dispose in class javax.swing.JInternalFrame

Skip navigation links


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