|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
com.retek.commons.gui.widget.RFrame
Nested Class Summary |
---|
Nested classes inherited from class javax.swing.JFrame |
---|
javax.swing.JFrame.AccessibleJFrame |
Nested classes inherited from class java.awt.Frame |
---|
java.awt.Frame.AccessibleAWTFrame |
Nested classes inherited from class java.awt.Window |
---|
java.awt.Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
---|
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 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 | |
---|---|
RFrame()
Constructs new RFrame object. |
Method Summary | |
---|---|
void |
addREventListener(REventListener listener)
Adds a REventListener to the REventListener list. |
void |
clearAllExceptions()
Clears the exceptions in the widget manager. |
void |
clearBusinessExceptions()
Clears the business exceptions in the widget manager. |
void |
clearStatusBar()
Clears the status bar. |
void |
clearUIExceptions()
Clears the UI exceptions in the widget manager. |
void |
clearWidgetHistory()
Clears the widget history. |
protected void |
displayException(BusinessException exception)
Displays a Business exception on the status bar. |
void |
displayException(BusinessException exception,
RetekLogger logger)
Displays a Business Exception on the status bar. |
protected void |
displayException(ConcurrentUpdateException exception)
Displays a ConcurrentUpdateException. |
void |
displayException(RErrorEvent event,
RetekLogger logger)
Displays a RErrorEvent exception on the status bar. |
void |
displayException(java.lang.RuntimeException exception,
RetekLogger logger)
Displays a System exception in a fatal window. |
void |
displayException(SystemException exception,
RetekLogger logger)
Displays a System exception in a fatal window. |
void |
displayException(java.lang.Throwable throwable)
Displays an exception. |
void |
displayException(java.lang.Throwable throwable,
RetekLogger logger)
Displays an exception. |
protected void |
displayException(UiBusinessException exception)
Displays a GUI exception on the status bar. |
void |
displayException(UiBusinessException exception,
RetekLogger logger)
Displays a GUI exception on the status bar. |
void |
displayMessage(java.lang.String message)
Displays a message in the status bar (defaults to ErrorSeverity.INFO); |
void |
displayMessage(java.lang.String message,
RetekLogger logger)
Displays a message in the status bar (defaults to ErrorSeverity.INFO); |
void |
displaySearchMessage(java.lang.String message,
ErrorSeverity severity)
Displays a search message in the status bar (defaults to ErrorSeverity.INFO); |
void |
displayWarning(java.lang.String warning,
RetekLogger logger)
Displays a message in the status bar (defaults to ErrorSeverity.INFO); |
protected RetekLogger |
getLogger()
Retrieves the logger object to be used for this frame(); |
RStatusBar |
getStatusBar()
Retrieves the status bar associated with the frame. |
WidgetManager |
getWidgetManager()
Retrieves the widget manager for this window. |
boolean |
hasAnyExceptions()
Returns whether or not the widget manager has any widgets that have errors. |
boolean |
hasBusinessExceptions()
Returns whether or not the widget manager has any business exceptions in memory. |
boolean |
hasUIExceptions()
Returns whether or not the widget manager has any widgets that have errors. |
boolean |
isFrameModified()
Retrieves whether or not the frame contents have been modified. |
void |
maximize()
Resizes window to screen size minus the task bar at the bottem. |
void |
notifyREventListeners(RActionEvent event)
Notifies all listeners of an action event. |
void |
notifyREventListeners(RErrorEvent event)
Notifies all listeners of an error event. |
void |
performActionEvent(RActionEvent event)
Implements the required REventListener method. |
void |
performErrorEvent(RErrorEvent event)
Implements the required REventListener method. |
void |
pushQueue(java.awt.EventQueue queue)
Pushes another event queue on the system even queue being used by this frame. |
abstract void |
recover()
Called by the fatal dialog window after a fatal error has occurred. |
void |
releaseWidget(java.lang.String widgetName)
Releases a widget from error state based on a widget name. |
void |
removeAllREventListeners()
Removes a REventListener from the REventListener list. |
void |
removeREventListener(REventListener listener)
Removes a REventListener from the REventListener list. |
void |
setActionsEnabled(boolean enabled)
Sets whether or not the widget manager should send actions. |
void |
setFrameModified(boolean modified)
Sets the manager state of the frame to modified (meaning widgets values are considered altered. |
void |
setMonitorEnabled(boolean enabled)
Enables or disables the monitor part of the widget manager that tracks the modification of widget contents. |
void |
show()
Makes the Window visible. |
void |
windowActivated(java.awt.event.WindowEvent event)
Empty implementation to satisfy the WindowListener interface. |
void |
windowClosed(java.awt.event.WindowEvent event)
Implements the WindowListener method to call close window. |
void |
windowClosing(java.awt.event.WindowEvent event)
Implements the WindowListener method to call close window. |
void |
windowDeactivated(java.awt.event.WindowEvent event)
Empty implementation to satisfy the WindowListener interface. |
void |
windowDeiconified(java.awt.event.WindowEvent event)
Displays all sub-windows when the main background screen is de-iconified. |
void |
windowIconified(java.awt.event.WindowEvent event)
Hides all sub-windows when the main background screen is iconified. |
void |
windowOpened(java.awt.event.WindowEvent event)
Empty implementation to satisfy the WindowListener interface. |
Methods inherited from class javax.swing.JFrame |
---|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.awt.Frame |
---|
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.awt.Window |
---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Constructor Detail |
public RFrame()
Method Detail |
public void maximize()
protected RetekLogger getLogger()
public WidgetManager getWidgetManager()
public void setActionsEnabled(boolean enabled)
public void setMonitorEnabled(boolean enabled)
enabled
- True if the monitor should be active, false if not.public void setFrameModified(boolean modified)
modified
- True if the frame is considered modified, false if not.public boolean isFrameModified()
public void clearAllExceptions()
public void clearBusinessExceptions()
public void clearUIExceptions()
public void clearWidgetHistory()
public boolean hasAnyExceptions()
public boolean hasBusinessExceptions()
public boolean hasUIExceptions()
public void releaseWidget(java.lang.String widgetName)
widgetName
- The widget name.protected void displayException(BusinessException exception)
exception
- A BusinessExcpetion (or sub-class thereof).protected void displayException(UiBusinessException exception)
exception
- A UiException (or sub-class thereof).public void pushQueue(java.awt.EventQueue queue)
queue
- The queue to push on the event queue.public void addREventListener(REventListener listener)
listener
- The REventListener to add.public void removeREventListener(REventListener listener)
listener
- The REventListener to remove.public void removeAllREventListeners()
public void notifyREventListeners(RActionEvent event)
event
- An RActionEvent.public void notifyREventListeners(RErrorEvent event)
event
- An RErrorEvent.public void performActionEvent(RActionEvent event)
performActionEvent
in interface REventListener
event
- The RActionEvent that triggered this listener method.public void performErrorEvent(RErrorEvent event)
performErrorEvent
in interface REventListener
event
- The RErrorEvent that triggered this listener method.public void windowActivated(java.awt.event.WindowEvent event)
windowActivated
in interface java.awt.event.WindowListener
public void windowDeactivated(java.awt.event.WindowEvent event)
windowDeactivated
in interface java.awt.event.WindowListener
public void windowClosed(java.awt.event.WindowEvent event)
windowClosed
in interface java.awt.event.WindowListener
public void windowClosing(java.awt.event.WindowEvent event)
windowClosing
in interface java.awt.event.WindowListener
public void windowIconified(java.awt.event.WindowEvent event)
windowIconified
in interface java.awt.event.WindowListener
public void windowDeiconified(java.awt.event.WindowEvent event)
windowDeiconified
in interface java.awt.event.WindowListener
public void windowOpened(java.awt.event.WindowEvent event)
windowOpened
in interface java.awt.event.WindowListener
public void show()
public RStatusBar getStatusBar()
public void clearStatusBar()
public void displayException(java.lang.Throwable throwable, RetekLogger logger)
throwable
- A throwable exception.public void displayException(java.lang.Throwable throwable)
throwable
- A throwable exception.public void displayMessage(java.lang.String message, RetekLogger logger)
message
- A message code to translate and display.public void displayMessage(java.lang.String message)
message
- A message code to translate and display.public void displaySearchMessage(java.lang.String message, ErrorSeverity severity)
message
- A message code to translate and display.severity
- The error severity.public void displayWarning(java.lang.String warning, RetekLogger logger)
public void displayException(RErrorEvent event, RetekLogger logger)
public void displayException(BusinessException exception, RetekLogger logger)
exception
- A BusinessException (or sub-class thereof).public void displayException(UiBusinessException exception, RetekLogger logger)
exception
- A UiException (or sub-class thereof).public void displayException(SystemException exception, RetekLogger logger)
exception
- A System Exception (or sub-class thereof).protected void displayException(ConcurrentUpdateException exception)
exception
- A System Exception (or sub-class thereof).public void displayException(java.lang.RuntimeException exception, RetekLogger logger)
exception
- A System Exception (or sub-class thereof).public abstract void recover()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |