|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
com.essbase.eas.ui.frame.CFrame
public class CFrame
| 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 |
|---|
protected java.util.ResourceBundle resources
protected java.awt.event.WindowAdapter windowAdapter
protected java.util.Hashtable compTable
protected javax.swing.JWindow splash
protected static final java.lang.String XLOC_KEY
protected static final java.lang.String YLOC_KEY
protected static final java.lang.String WIDTH_KEY
protected static final java.lang.String HEIGHT_KEY
public static final java.lang.String DESKTOP
public static final java.lang.String NAV_PANE
public static final java.lang.String PRIM_TREE
public static final java.lang.String TOOL_BAR
public static final java.lang.String STATUS_BAR
public static final java.lang.String MSG_PANEL
public static final java.lang.String FILE_MENU
public static final java.lang.String VIEW_MENU
public static final java.lang.String ACTION_MENU
public static final java.lang.String TOOLS_MENU
public static final java.lang.String WINDOWS_MENU
public static final java.lang.String HELP_MENU
protected int busyCursorCount
protected CFramePanel framePanel
protected java.awt.Rectangle defaultBounds
protected java.lang.String defaultCaption
| Constructor Detail |
|---|
public CFrame()
public CFrame(javax.swing.JWindow splash)
| Method Detail |
|---|
protected void init()
protected CFramePanel createFramePanel()
public void addFramePanel()
protected void setIconImage()
public java.lang.Object getFrameComponent(java.lang.String key)
public void setFrameComponent(java.lang.String key,
java.lang.Object comp)
protected java.lang.String getFrameInitialTitle()
protected void windowOpened()
protected void windowClosing()
protected void windowClosed(java.awt.event.WindowEvent e)
public void setBusyCursor()
ConsolesetBusyCursor in interface Consolepublic void resetBusyCursor()
ConsoleresetBusyCursor in interface Consolepublic void setCursor(java.awt.Cursor cursor)
setCursor in class java.awt.Windowprotected void removeSplashWindow()
public javax.swing.JTabbedPane getNavigationPane()
ConsolegetNavigationPane in interface Consolepublic javax.swing.JTree getPrimaryTree()
ConsolegetPrimaryTree in interface Consolepublic CToolBar getToolbar()
ConsolegetToolbar in interface Consolepublic StatusBar getStatusBar()
ConsolegetStatusBar in interface Consolepublic MessagePanel getMessagePane()
ConsolegetMessagePane in interface Consolepublic java.awt.Component getFrameComponent()
ConsolegetFrameComponent in interface Consolepublic CDesktopPane getDesktopPane()
ConsolegetDesktopPane in interface Consolepublic javax.swing.JMenuBar getPrimaryMenuBar()
ConsolegetPrimaryMenuBar in interface Consolepublic javax.swing.JMenu getFileMenu()
ConsolegetFileMenu in interface Consolepublic javax.swing.JMenu getEditMenu()
ConsolegetEditMenu in interface Consolepublic javax.swing.JMenu getViewMenu()
ConsolegetViewMenu in interface Consolepublic javax.swing.JMenu getActionMenu()
ConsolegetActionMenu in interface Consolepublic javax.swing.JMenu getToolsMenu()
ConsolegetToolsMenu in interface Consolepublic javax.swing.JMenu getWindowMenu()
ConsolegetWindowMenu in interface Consolepublic javax.swing.JMenu getHelpMenu()
ConsolegetHelpMenu in interface Consolepublic void fileExitAction(java.awt.event.ActionEvent e)
public void mergeMenus(CInternalFrame f)
mergeMenus in interface Consolepublic void unmergeMenus(CInternalFrame f)
unmergeMenus in interface Consolepublic void mergeMenus(java.awt.Component[] items)
mergeMenus in interface Consoleitems -public void mergeActionMenu(java.awt.Component[] items)
mergeActionMenu in interface Consolepublic void unmergeActionMenu(java.lang.Object owner)
unmergeActionMenu in interface Consolepublic void showMessagePanel(boolean show)
showMessagePanel in interface Consoleprotected void saveSettings()
protected void saveSettings(java.util.Properties settings)
protected void loadSettings()
protected void loadSettings(java.util.Properties settings)
public void addFrameListener(java.awt.event.WindowListener l)
addFrameListener in interface Consolepublic void removeFrameListener(java.awt.event.WindowListener l)
removeFrameListener in interface Consolepublic void updateMenuBar()
public void setActive()
ConsolesetActive in interface Consolepublic void showStatusbar(boolean show)
showStatusbar in interface Consolepublic void showToolbar(boolean show)
showToolbar in interface Consolepublic void showNavigation(boolean show)
showNavigation in interface Consolepublic void show()
show in class java.awt.Windowpublic java.lang.String getSettingsPath()
getSettingsPath in interface Console
public void writeSettings(java.lang.String filename,
java.lang.String content)
throws java.io.IOException
writeSettings in interface Consolejava.io.IOException
public java.lang.String readSettings(java.lang.String filename)
throws java.io.IOException
readSettings in interface Consolejava.io.IOException
public boolean storeData(java.lang.String key,
java.lang.String value)
ConsolestoreData in interface Consolekey - unique identifier for data to be stored.value - string representation of the data to be stored.Console.retrieveData(java.lang.String, java.lang.StringBuffer)public java.lang.String retrieveData(java.lang.String key)
retrieveData in interface Console
public boolean retrieveData(java.lang.String key,
java.lang.StringBuffer value)
ConsoleretrieveData in interface Consolekey - unique identifier for data to be retrieved.value - buffer to place the data in.Console.storeData(java.lang.String, java.lang.String)public void addEASServerListener(EASServerListener listener)
addEASServerListener in interface Consolepublic void removeEASServerListener(EASServerListener listener)
removeEASServerListener in interface Consolepublic void fireEASServerDisconnected()
fireEASServerDisconnected in interface Consolepublic void fireEASServerConnected()
fireEASServerConnected in interface Console
public java.io.OutputStream getOutputStreamForFile(java.lang.String category,
java.lang.String filename)
throws java.io.IOException
getOutputStreamForFile in interface Consolejava.io.IOException
public java.io.Reader getReaderForFile(java.lang.String category,
java.lang.String filename,
java.lang.String charset)
throws java.io.IOException
getReaderForFile in interface Consolejava.io.IOExceptionpublic javax.swing.ImageIcon getIcon()
ConsolegetIcon in interface Consolepublic boolean isConnected()
isConnected in interface Console
public boolean connectServer(java.lang.String server,
java.lang.String user,
java.lang.String password,
boolean sslEnabled)
connectServer in interface Consolepublic boolean disconnectServer()
disconnectServer in interface Consolepublic void showOptions(java.lang.Class<?> initialTab)
ConsoleshowOptions in interface Consolepublic java.lang.String getDefaultCaption()
ConsolegetDefaultCaption in interface Consolepublic void dispose()
dispose in class java.awt.Windowpublic static CFrame getFrame()
public static CFrame getFrameComponent(java.awt.Component comp)
public static java.awt.Component getFrameComponent(java.lang.String componentName,
java.awt.Component comp)
public static java.lang.Object callFrameMethod(java.lang.String method,
java.lang.Class<?>[] params,
java.lang.Object[] args)
public static java.lang.Object callMethod(java.lang.Object target,
java.lang.String method,
java.lang.Class<?>[] params,
java.lang.Object[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||