Skip navigation links


com.essbase.eas.ui.frame
Class CFrame

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by com.essbase.eas.ui.frame.CFrame

All Implemented Interfaces:
Console, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants
Direct Known Subclasses:
ConsoleFrame

public class CFrame
extends javax.swing.JFrame
implements Console
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame

 

Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame

 

Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow

 

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 ACTION_MENU
           
protected  int busyCursorCount
           
protected  java.util.Hashtable compTable
           
protected  java.awt.Rectangle defaultBounds
           
protected  java.lang.String defaultCaption
           
static java.lang.String DESKTOP
           
static java.lang.String FILE_MENU
           
protected  CFramePanel framePanel
           
protected static java.lang.String HEIGHT_KEY
           
static java.lang.String HELP_MENU
           
static java.lang.String MSG_PANEL
           
static java.lang.String NAV_PANE
           
static java.lang.String PRIM_TREE
           
protected  java.util.ResourceBundle resources
           
protected  javax.swing.JWindow splash
           
static java.lang.String STATUS_BAR
           
static java.lang.String TOOL_BAR
           
static java.lang.String TOOLS_MENU
           
static java.lang.String VIEW_MENU
           
protected static java.lang.String WIDTH_KEY
           
protected  java.awt.event.WindowAdapter windowAdapter
           
static java.lang.String WINDOWS_MENU
           
protected static java.lang.String XLOC_KEY
           
protected static java.lang.String YLOC_KEY
           

 

Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled

 

Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR

 

Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT

 

Fields inherited from interface com.essbase.eas.client.intf.Console
ID_ACTIONS_MENU, ID_CLOSE_MENU, ID_EDIT_MENU, ID_EDITCOPY_MENU, ID_EDITCUT_MENU, ID_EDITORS_MENU, ID_EDITPASTE_MENU, ID_EDITREDO_MENU, ID_EDITUNDO_MENU, ID_EMAIL_MENU, ID_EXIT_MENU, ID_EXPORTTOXML_MENU, ID_FILE_MENU, ID_HELP_MENU, ID_NEW_MENU, ID_OPEN_MENU, ID_PAGESETUP_MENU, ID_PRINT_MENU, ID_PRINTPREVIEW_MENU, ID_SAVE_MENU, ID_SAVEAS_MENU, ID_TOOLS_MENU, ID_VIEW_MENU, ID_WINDOW_MENU, ID_WIZARD_MENU

 

Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE

 

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

 

Constructor Summary
CFrame()
           
CFrame(javax.swing.JWindow splash)
           

 

Method Summary
 void addEASServerListener(EASServerListener listener)
           
 void addFrameListener(java.awt.event.WindowListener l)
           
 void addFramePanel()
           
static java.lang.Object callFrameMethod(java.lang.String method, java.lang.Class<?>[] params, java.lang.Object[] args)
           
static java.lang.Object callMethod(java.lang.Object target, java.lang.String method, java.lang.Class<?>[] params, java.lang.Object[] args)
           
 boolean connectServer(java.lang.String server, java.lang.String user, java.lang.String password, boolean sslEnabled)
           
protected  CFramePanel createFramePanel()
           
 boolean disconnectServer()
           
 void dispose()
           
 void fileExitAction(java.awt.event.ActionEvent e)
           
 void fireEASServerConnected()
           
 void fireEASServerDisconnected()
           
 javax.swing.JMenu getActionMenu()
          gets a reference to the console's action menu.
 java.lang.String getDefaultCaption()
          gets a default caption for dialog boxes, message boxes, etc.
 CDesktopPane getDesktopPane()
          gets a reference to the work area panel that the console is required to provide.
 javax.swing.JMenu getEditMenu()
          gets a reference to the console's edit menu.
 javax.swing.JMenu getFileMenu()
          gets a reference to the console's file menu.
static CFrame getFrame()
           
 java.awt.Component getFrameComponent()
          gets a reference to the top-level frame window.
static CFrame getFrameComponent(java.awt.Component comp)
           
 java.lang.Object getFrameComponent(java.lang.String key)
           
static java.awt.Component getFrameComponent(java.lang.String componentName, java.awt.Component comp)
           
protected  java.lang.String getFrameInitialTitle()
           
 javax.swing.JMenu getHelpMenu()
          gets a reference to the console's help menu.
 javax.swing.ImageIcon getIcon()
          Returns the frame icon if any
 MessagePanel getMessagePane()
          gets a reference to the console's message panel.
 javax.swing.JTabbedPane getNavigationPane()
          gets a reference to the tabbed panel in the navigation pane.
 java.io.OutputStream getOutputStreamForFile(java.lang.String category, java.lang.String filename)
           
 javax.swing.JMenuBar getPrimaryMenuBar()
          gets a reference to the console's main menu bar.
 javax.swing.JTree getPrimaryTree()
          gets a reference to the primary tree in the navigation panel.
 java.io.Reader getReaderForFile(java.lang.String category, java.lang.String filename, java.lang.String charset)
           
 java.lang.String getSettingsPath()
          implementation of the getSettingsPath().
 StatusBar getStatusBar()
          gets a reference to the console's status bar.
 CToolBar getToolbar()
          gets a reference to the console's tool bar.
 javax.swing.JMenu getToolsMenu()
          gets a reference to the console's tools menu.
 javax.swing.JMenu getViewMenu()
          gets a reference to the console's view menu.
 javax.swing.JMenu getWindowMenu()
          gets a reference to the console's window menu.
protected  void init()
           
 boolean isConnected()
           
protected  void loadSettings()
           
protected  void loadSettings(java.util.Properties settings)
           
 void mergeActionMenu(java.awt.Component[] items)
          asks console object to merge these items on to the action menu.
 void mergeMenus(CInternalFrame f)
          implementation of the Console.mergeMenus() method.
 void mergeMenus(java.awt.Component[] items)
          Merges the given components int to the main menu bar.
 java.lang.String readSettings(java.lang.String filename)
           
 void removeEASServerListener(EASServerListener listener)
           
 void removeFrameListener(java.awt.event.WindowListener l)
           
protected  void removeSplashWindow()
           
 void resetBusyCursor()
          Resets the busy cursor to the default
 java.lang.String retrieveData(java.lang.String key)
           
 boolean retrieveData(java.lang.String key, java.lang.StringBuffer value)
          provides a persistence mechanism for retrieving stored data.
protected  void saveSettings()
           
protected  void saveSettings(java.util.Properties settings)
           
 void setActive()
          Makes the frame visible and brings the frame to the front.
 void setBusyCursor()
          Sets up the busy cursor
 void setCursor(java.awt.Cursor cursor)
           
 void setFrameComponent(java.lang.String key, java.lang.Object comp)
           
protected  void setIconImage()
           
 void show()
           
 void showMessagePanel(boolean show)
          hides/shows the message panel.
 void showNavigation(boolean show)
           
 void showOptions(java.lang.Class<?> initialTab)
          shows the console optiontab
 void showStatusbar(boolean show)
           
 void showToolbar(boolean show)
           
 boolean storeData(java.lang.String key, java.lang.String value)
          provides a persistence mechanism for storing data.
 void unmergeActionMenu(java.lang.Object owner)
          asks the console object to menu items owned by this object from the action menu.
 void unmergeMenus(CInternalFrame f)
          implementation of the Console.unmergeMenus() method.
 void updateMenuBar()
           
protected  void windowClosed(java.awt.event.WindowEvent e)
           
protected  void windowClosing()
           
protected  void windowOpened()
           
 void writeSettings(java.lang.String filename, java.lang.String content)
           

 

Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update

 

Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated

 

Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, toBack, toFront

 

Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle

 

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

 

Methods inherited from interface com.essbase.eas.client.intf.Console
getFocusOwner, getRootPane, getTitle

 

Methods inherited from interface java.awt.MenuContainer
getFont, postEvent

 

Field Detail

resources

protected java.util.ResourceBundle resources

windowAdapter

protected java.awt.event.WindowAdapter windowAdapter

compTable

protected java.util.Hashtable compTable

splash

protected javax.swing.JWindow splash

XLOC_KEY

protected static final java.lang.String XLOC_KEY
See Also:
Constant Field Values

YLOC_KEY

protected static final java.lang.String YLOC_KEY
See Also:
Constant Field Values

WIDTH_KEY

protected static final java.lang.String WIDTH_KEY
See Also:
Constant Field Values

HEIGHT_KEY

protected static final java.lang.String HEIGHT_KEY
See Also:
Constant Field Values

DESKTOP

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

NAV_PANE

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

PRIM_TREE

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

TOOL_BAR

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

STATUS_BAR

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

MSG_PANEL

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

FILE_MENU

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

VIEW_MENU

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

ACTION_MENU

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

TOOLS_MENU

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

WINDOWS_MENU

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

HELP_MENU

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

busyCursorCount

protected int busyCursorCount

framePanel

protected CFramePanel framePanel

defaultBounds

protected java.awt.Rectangle defaultBounds

defaultCaption

protected java.lang.String defaultCaption

Constructor Detail

CFrame

public CFrame()

CFrame

public CFrame(javax.swing.JWindow splash)

Method Detail

init

protected void init()

createFramePanel

protected CFramePanel createFramePanel()

addFramePanel

public void addFramePanel()

setIconImage

protected void setIconImage()

getFrameComponent

public java.lang.Object getFrameComponent(java.lang.String key)

setFrameComponent

public void setFrameComponent(java.lang.String key,
                              java.lang.Object comp)

getFrameInitialTitle

protected java.lang.String getFrameInitialTitle()

windowOpened

protected void windowOpened()

windowClosing

protected void windowClosing()

windowClosed

protected void windowClosed(java.awt.event.WindowEvent e)

setBusyCursor

public void setBusyCursor()
Description copied from interface: Console
Sets up the busy cursor
Specified by:
setBusyCursor in interface Console

resetBusyCursor

public void resetBusyCursor()
Description copied from interface: Console
Resets the busy cursor to the default
Specified by:
resetBusyCursor in interface Console

setCursor

public void setCursor(java.awt.Cursor cursor)
Overrides:
setCursor in class java.awt.Window

removeSplashWindow

protected void removeSplashWindow()

getNavigationPane

public javax.swing.JTabbedPane getNavigationPane()
Description copied from interface: Console
gets a reference to the tabbed panel in the navigation pane.
Specified by:
getNavigationPane in interface Console

getPrimaryTree

public javax.swing.JTree getPrimaryTree()
Description copied from interface: Console
gets a reference to the primary tree in the navigation panel.
Specified by:
getPrimaryTree in interface Console

getToolbar

public CToolBar getToolbar()
Description copied from interface: Console
gets a reference to the console's tool bar.
Specified by:
getToolbar in interface Console

getStatusBar

public StatusBar getStatusBar()
Description copied from interface: Console
gets a reference to the console's status bar.
Specified by:
getStatusBar in interface Console

getMessagePane

public MessagePanel getMessagePane()
Description copied from interface: Console
gets a reference to the console's message panel.
Specified by:
getMessagePane in interface Console

getFrameComponent

public java.awt.Component getFrameComponent()
Description copied from interface: Console
gets a reference to the top-level frame window. In most cases this is the same object as implementing the console; however, it isn't a requirement, so ...
Specified by:
getFrameComponent in interface Console

getDesktopPane

public CDesktopPane getDesktopPane()
Description copied from interface: Console
gets a reference to the work area panel that the console is required to provide.
Specified by:
getDesktopPane in interface Console

getPrimaryMenuBar

public javax.swing.JMenuBar getPrimaryMenuBar()
Description copied from interface: Console
gets a reference to the console's main menu bar. Note: we couldn't call this getMenuBar() since java.awt.Frame has a similar method.
Specified by:
getPrimaryMenuBar in interface Console

getFileMenu

public javax.swing.JMenu getFileMenu()
Description copied from interface: Console
gets a reference to the console's file menu.
Specified by:
getFileMenu in interface Console

getEditMenu

public javax.swing.JMenu getEditMenu()
Description copied from interface: Console
gets a reference to the console's edit menu.
Specified by:
getEditMenu in interface Console

getViewMenu

public javax.swing.JMenu getViewMenu()
Description copied from interface: Console
gets a reference to the console's view menu.
Specified by:
getViewMenu in interface Console

getActionMenu

public javax.swing.JMenu getActionMenu()
Description copied from interface: Console
gets a reference to the console's action menu.
Specified by:
getActionMenu in interface Console

getToolsMenu

public javax.swing.JMenu getToolsMenu()
Description copied from interface: Console
gets a reference to the console's tools menu.
Specified by:
getToolsMenu in interface Console

getWindowMenu

public javax.swing.JMenu getWindowMenu()
Description copied from interface: Console
gets a reference to the console's window menu.
Specified by:
getWindowMenu in interface Console

getHelpMenu

public javax.swing.JMenu getHelpMenu()
Description copied from interface: Console
gets a reference to the console's help menu.
Specified by:
getHelpMenu in interface Console

fileExitAction

public void fileExitAction(java.awt.event.ActionEvent e)

mergeMenus

public void mergeMenus(CInternalFrame f)
implementation of the Console.mergeMenus() method.
Specified by:
mergeMenus in interface Console

unmergeMenus

public void unmergeMenus(CInternalFrame f)
implementation of the Console.unmergeMenus() method.
Specified by:
unmergeMenus in interface Console

mergeMenus

public void mergeMenus(java.awt.Component[] items)
Merges the given components int to the main menu bar.
Specified by:
mergeMenus in interface Console
Parameters:
items -

mergeActionMenu

public void mergeActionMenu(java.awt.Component[] items)
asks console object to merge these items on to the action menu.
Specified by:
mergeActionMenu in interface Console

unmergeActionMenu

public void unmergeActionMenu(java.lang.Object owner)
asks the console object to menu items owned by this object from the action menu.
Specified by:
unmergeActionMenu in interface Console

showMessagePanel

public void showMessagePanel(boolean show)
hides/shows the message panel. If we need to show the message panel, sets it to visible, changes the container model for the application and sets all of the windows to reasonable/expected sizes.
Specified by:
showMessagePanel in interface Console

saveSettings

protected void saveSettings()

saveSettings

protected void saveSettings(java.util.Properties settings)

loadSettings

protected void loadSettings()

loadSettings

protected void loadSettings(java.util.Properties settings)

addFrameListener

public void addFrameListener(java.awt.event.WindowListener l)
Specified by:
addFrameListener in interface Console

removeFrameListener

public void removeFrameListener(java.awt.event.WindowListener l)
Specified by:
removeFrameListener in interface Console

updateMenuBar

public void updateMenuBar()

setActive

public void setActive()
Description copied from interface: Console
Makes the frame visible and brings the frame to the front.
Specified by:
setActive in interface Console

showStatusbar

public void showStatusbar(boolean show)
Specified by:
showStatusbar in interface Console

showToolbar

public void showToolbar(boolean show)
Specified by:
showToolbar in interface Console

showNavigation

public void showNavigation(boolean show)
Specified by:
showNavigation in interface Console

show

public void show()
Overrides:
show in class java.awt.Window

getSettingsPath

public java.lang.String getSettingsPath()
implementation of the getSettingsPath(). Retrieves a path that can be used for a user's individual preferences.
Specified by:
getSettingsPath in interface Console

writeSettings

public void writeSettings(java.lang.String filename,
                          java.lang.String content)
                   throws java.io.IOException
Specified by:
writeSettings in interface Console
Throws:
java.io.IOException

readSettings

public java.lang.String readSettings(java.lang.String filename)
                              throws java.io.IOException
Specified by:
readSettings in interface Console
Throws:
java.io.IOException

storeData

public boolean storeData(java.lang.String key,
                         java.lang.String value)
Description copied from interface: Console
provides a persistence mechanism for storing data. Call this method with a key that should be unique.
Specified by:
storeData in interface Console
Parameters:
key - unique identifier for data to be stored.
value - string representation of the data to be stored.
Returns:
true if successful; false if not.
See Also:
Console.retrieveData(java.lang.String, java.lang.StringBuffer)

retrieveData

public java.lang.String retrieveData(java.lang.String key)
Specified by:
retrieveData in interface Console

retrieveData

public boolean retrieveData(java.lang.String key,
                            java.lang.StringBuffer value)
Description copied from interface: Console
provides a persistence mechanism for retrieving stored data. Call this method with a key that should be unique.
Specified by:
retrieveData in interface Console
Parameters:
key - unique identifier for data to be retrieved.
value - buffer to place the data in.
Returns:
true if successful; false if not.
See Also:
Console.storeData(java.lang.String, java.lang.String)

addEASServerListener

public void addEASServerListener(EASServerListener listener)
Specified by:
addEASServerListener in interface Console

removeEASServerListener

public void removeEASServerListener(EASServerListener listener)
Specified by:
removeEASServerListener in interface Console

fireEASServerDisconnected

public void fireEASServerDisconnected()
Specified by:
fireEASServerDisconnected in interface Console

fireEASServerConnected

public void fireEASServerConnected()
Specified by:
fireEASServerConnected in interface Console

getOutputStreamForFile

public java.io.OutputStream getOutputStreamForFile(java.lang.String category,
                                                   java.lang.String filename)
                                            throws java.io.IOException
Specified by:
getOutputStreamForFile in interface Console
Throws:
java.io.IOException

getReaderForFile

public java.io.Reader getReaderForFile(java.lang.String category,
                                       java.lang.String filename,
                                       java.lang.String charset)
                                throws java.io.IOException
Specified by:
getReaderForFile in interface Console
Returns:
Throws:
java.io.IOException

getIcon

public javax.swing.ImageIcon getIcon()
Description copied from interface: Console
Returns the frame icon if any
Specified by:
getIcon in interface Console
Returns:
frame icon

isConnected

public boolean isConnected()
Specified by:
isConnected in interface Console

connectServer

public boolean connectServer(java.lang.String server,
                             java.lang.String user,
                             java.lang.String password,
                             boolean sslEnabled)
Specified by:
connectServer in interface Console

disconnectServer

public boolean disconnectServer()
Specified by:
disconnectServer in interface Console

showOptions

public void showOptions(java.lang.Class<?> initialTab)
Description copied from interface: Console
shows the console optiontab
Specified by:
showOptions in interface Console

getDefaultCaption

public java.lang.String getDefaultCaption()
Description copied from interface: Console
gets a default caption for dialog boxes, message boxes, etc.
Specified by:
getDefaultCaption in interface Console

dispose

public void dispose()
Overrides:
dispose in class java.awt.Window

getFrame

public static CFrame getFrame()

getFrameComponent

public static CFrame getFrameComponent(java.awt.Component comp)

getFrameComponent

public static java.awt.Component getFrameComponent(java.lang.String componentName,
                                                   java.awt.Component comp)

callFrameMethod

public static java.lang.Object callFrameMethod(java.lang.String method,
                                               java.lang.Class<?>[] params,
                                               java.lang.Object[] args)

callMethod

public static java.lang.Object callMethod(java.lang.Object target,
                                          java.lang.String method,
                                          java.lang.Class<?>[] params,
                                          java.lang.Object[] args)

Skip navigation links


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