| 
|||||||||||
| 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
                                |
                                +--planetj.gui.CMFrameJ
This subclass of JFrame provides I18N, debug messaging support, exception handling, and cursor state handling.
| Field Summary | 
| Fields inherited from class javax.swing.JFrame | 
EXIT_ON_CLOSE | 
| 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 | |
CMFrameJ()
Constructor  | 
|
CMFrameJ(String title)
CMFrameJ constructor comment.  | 
|
| Method Summary | |
 void | 
addBusyOperation(String addedBusyOperation)
This will add an operation to the busyOperation vector We will set the cursor to busy when the first element is added to this vector Creation date: (1/28/00 4:09:52 PM)  | 
 void | 
addPropertyChangeListener(PropertyChangeListener listener)
The addPropertyChangeListener method was generated to support the propertyChange field.  | 
 void | 
debugMessage(Exception e)
debugMessage method is a convenience method that delegates the message back to the MessageManager  | 
 void | 
debugMessage(String string)
debugMessage method is a convenience method that delegates the message back to the MessageManager  | 
 void | 
debugMessage(String message,
             Exception e)
debugMessage method is a convenience method that delegates the message back to the MessageManager  | 
 void | 
dispose()
Overrides to ensure always on top is set to false when closed  | 
 void | 
firePropertyChange(String propertyName,
                   Object oldValue,
                   Object newValue)
The firePropertyChange method was generated to support the propertyChange field.  | 
 CMException | 
generateException(String exceptionKey)
Convenience method which simply creates the replacement text variables as an array  | 
 CMException | 
generateException(String exceptionKey,
                  Object[] replacementVars)
Generate a new CMException.  | 
 CMException | 
generateException(String exceptionKey,
                  String parm1)
Convenience method which simply creates the replacement text variables as an array  | 
 CMException | 
generateException(String exceptionKey,
                  String parm1,
                  String parm2)
Convenience method which simply creates the replacement text variables as an array  | 
 CMException | 
generateException(String exceptionKey,
                  String parm1,
                  String parm2,
                  String parm3)
Convenience method which simply creates the replacement text variables as an array  | 
 Object | 
getBusinessObject()
Method generated to support the promotion of the BusinessObject attribute.  | 
 Vector | 
getBusyOperation()
This will return the busy operation vector Creation date: (1/28/00 4:09:52 PM)  | 
 Object | 
getClientProperty(Object key)
Returns the value of the property with the specified key.  | 
 int | 
getTimeInMills()
Insert the method's description here.  | 
 String | 
getTranslation()
Gets the translated String.  | 
 String | 
getTranslationId()
Gets the key of the translated String.  | 
 void | 
hide()
overrides to ensure always on top is false  | 
 boolean | 
isAlwaysOnTop()
Insert the method's description here.  | 
 boolean | 
isBusyOperationInProgress()
If there is a busy operation in progress then return true Creation date: (1/28/00 4:09:52 PM)  | 
static void | 
main(String[] args)
main entrypoint - starts the part when it is run as an application  | 
 void | 
putClientProperty(Object key,
                  Object value)
Add an arbitrary key/value "client property" to this component.  | 
 void | 
removeBusyOperation(String removedBusyOperation)
This will remove an operation from the busyOperation vector Creation date: (1/28/00 4:09:52 PM)  | 
 void | 
removePropertyChangeListener(PropertyChangeListener listener)
The removePropertyChangeListener method was generated to support the propertyChange field.  | 
 void | 
setAlwaysOnTop(boolean newAlwaysOnTop)
Insert the method's description here.  | 
 void | 
setBusinessObject(Object arg1)
Method generated to support the promotion of the BusinessObject attribute.  | 
 void | 
setTimeInMills(int newTimeInMills)
Insert the method's description here.  | 
 void | 
setTitle(String key)
Overrides the superclass to set the key for the translated String.  | 
 void | 
setTranslation(String newTranslation)
Sets the String without translating it.  | 
 void | 
setVisible(boolean vis)
overrides to ensure always on top is false  | 
 void | 
show()
Center the frame in the bounds of the screen  | 
 void | 
showBusyCursor()
Set the cursor to busy  | 
 void | 
showDefaultCursor()
Reset the cursor to the default  | 
 void | 
showException(CMFrameJ frame,
              CMException exception)
This method was created by a SmartGuide.  | 
 void | 
showException(CMFrameJ frame,
              Throwable exception)
This method was created by a SmartGuide.  | 
 void | 
showException(Throwable exception)
This method was created by a SmartGuide.  | 
| Methods inherited from class javax.swing.JFrame | 
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, update | 
| Methods inherited from class java.awt.Frame | 
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setUndecorated | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface java.awt.MenuContainer | 
getFont, postEvent | 
| Constructor Detail | 
public CMFrameJ()
public CMFrameJ(String title)
title - java.lang.String| Method Detail | 
public void addBusyOperation(String addedBusyOperation)
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in class Windowlistener - java.beans.PropertyChangeListenerpublic void debugMessage(Exception e)
public void debugMessage(String string)
public void debugMessage(String message,
                         Exception e)
public void dispose()
dispose in class Window
public void firePropertyChange(String propertyName,
                               Object oldValue,
                               Object newValue)
firePropertyChange in class ComponentpropertyName - java.lang.StringoldValue - java.lang.ObjectnewValue - java.lang.Objectpublic CMException generateException(String exceptionKey)
public CMException generateException(String exceptionKey,
                                     Object[] replacementVars)
public CMException generateException(String exceptionKey,
                                     String parm1)
public CMException generateException(String exceptionKey,
                                     String parm1,
                                     String parm2)
public CMException generateException(String exceptionKey,
                                     String parm1,
                                     String parm2,
                                     String parm3)
public Object getBusinessObject()
public Vector getBusyOperation()
public final Object getClientProperty(Object key)
putClientProperty will return
 a non-null value.
putClientProperty(java.lang.Object, java.lang.Object)public int getTimeInMills()
public String getTranslation()
public String getTranslationId()
public void hide()
hide in class Windowpublic boolean isAlwaysOnTop()
public boolean isBusyOperationInProgress()
public static void main(String[] args)
args - java.lang.String[]
public final void putClientProperty(Object key,
                                    Object value)
 The  
 If value is null this method will remove the property.
 Changes to client properties are reported with PropertyChange
 events.  The name of the property (for the sake of PropertyChange
 events) is  
 The clientProperty dictionary is not intended to support large 
 scale extensions to JComponent nor should be it considered an 
 alternative to subclassing when designing a new component.
 
get/putClientProperty methods provide access to 
 a small per-instance hashtable. Callers can use get/putClientProperty
 to annotate components that were created by another module, e.g. a 
 layout manager might store per child constraints this way.  For example:
 
 componentA.putClientProperty("to the left of", componentB);
 
 key.toString().  
 
public void removeBusyOperation(String removedBusyOperation)
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in class Componentlistener - java.beans.PropertyChangeListenerpublic void setAlwaysOnTop(boolean newAlwaysOnTop)
newAlwaysOnTop - booleanpublic void setBusinessObject(Object arg1)
arg1 - java.lang.Objectpublic void setTimeInMills(int newTimeInMills)
newTimeInMills - intpublic void setTitle(String key)
setTitle in class Framepublic void setTranslation(String newTranslation)
public void setVisible(boolean vis)
setVisible in class Componentpublic void show()
show in class Windowpublic void showBusyCursor()
public void showDefaultCursor()
public void showException(Throwable exception)
public void showException(CMFrameJ frame,
                          Throwable exception)
public void showException(CMFrameJ frame,
                          CMException exception)
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||