planetj.exception
Class CMExceptionDialogJ

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--planetj.gui.CMDialogJ
                                      |
                                      +--planetj.exception.CMExceptionDialogJ
All Implemented Interfaces:
Accessible, ActionListener, ChangeListener, CMTopLevelComponent, EventListener, ImageObserver, MenuContainer, PropertyChangeListener, RootPaneContainer, Serializable, WindowConstants, WindowListener
Direct Known Subclasses:
CMMessageDialogJ

public class CMExceptionDialogJ
extends CMDialogJ
implements ActionListener, WindowListener, PropertyChangeListener, ChangeListener

This type was created in VisualAge.

See Also:
Serialized Form

Field Summary
static int TYPE_EXCEPTION
           
static int TYPE_MESSAGE
           
 
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
CMExceptionDialogJ()
          Constructor
CMExceptionDialogJ(CMFrameJ owner)
          CMExceptionDialogJ constructor comment.
CMExceptionDialogJ(CMFrameJ owner, boolean modal)
          CMExceptionDialogJ constructor comment.
CMExceptionDialogJ(CMFrameJ owner, String title)
          CMExceptionDialogJ constructor comment.
CMExceptionDialogJ(CMFrameJ owner, String title, boolean modal)
          CMExceptionDialogJ constructor comment.
CMExceptionDialogJ(Frame owner)
          CMExceptionDialogJ constructor comment.
CMExceptionDialogJ(Frame owner, boolean modal)
          CMExceptionDialogJ constructor comment.
CMExceptionDialogJ(Frame owner, String title)
          CMExceptionDialogJ constructor comment.
CMExceptionDialogJ(Frame owner, String title, boolean modal)
          CMExceptionDialogJ constructor comment.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Method to handle events for the ActionListener interface.
 void addPropertyChangeListener(PropertyChangeListener listener)
          The addPropertyChangeListener method was generated to support the propertyChange field.
 void firePropertyChange(String propertyName, Object oldValue, Object newValue)
          The firePropertyChange method was generated to support the propertyChange field.
 int getType()
          Insert the method's description here.
static void main(String[] args)
          main entrypoint - starts the part when it is run as an application
 void propertyChange(PropertyChangeEvent evt)
          Method to handle events for the PropertyChangeListener interface.
 void removePropertyChangeListener(PropertyChangeListener listener)
          The removePropertyChangeListener method was generated to support the propertyChange field.
 void setDetails(String pDetailsText)
          Sets the details Creation date: (7/15/03 9:37:08 AM)
 void setException(CMException newValue)
           
 void setMessage(String pMessageText)
          Sets the message Creation date: (7/15/03 9:37:08 AM)
 void setType(int newType)
          Insert the method's description here.
 void show()
          this will ensure a default cursor is displayed every time this dialog is brought up.
 void stateChanged(ChangeEvent e)
          Method to handle events for the ChangeListener interface.
 void tabChangeEvent()
          Comment
 void windowActivated(WindowEvent e)
          Method to handle events for the WindowListener interface.
 void windowClosed(WindowEvent e)
          Method to handle events for the WindowListener interface.
 void windowClosing(WindowEvent e)
          Method to handle events for the WindowListener interface.
 void windowDeactivated(WindowEvent e)
          Method to handle events for the WindowListener interface.
 void windowDeiconified(WindowEvent e)
          Method to handle events for the WindowListener interface.
 void windowIconified(WindowEvent e)
          Method to handle events for the WindowListener interface.
 void windowOpened(WindowEvent e)
          Method to handle events for the WindowListener interface.
 
Methods inherited from class planetj.gui.CMDialogJ
debugMessage, debugMessage, debugMessage, dispose, getClientProperties, getTimeInMills, getTranslation, getTranslationId, hide, isAlwaysOnTop, newCMDialogJ, putClientProperty, setAlwaysOnTop, setTimeInMills, setTitle, setTranslation, setVisible, showBusyCursor, showDefaultCursor, showException, showException
 
Methods inherited from class javax.swing.JDialog
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, update
 
Methods inherited from class java.awt.Dialog
addNotify, getTitle, isModal, isResizable, isUndecorated, setModal, setResizable, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, 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, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_MESSAGE

public static final int TYPE_MESSAGE
See Also:
Constant Field Values

TYPE_EXCEPTION

public static final int TYPE_EXCEPTION
See Also:
Constant Field Values
Constructor Detail

CMExceptionDialogJ

public CMExceptionDialogJ()
Constructor


CMExceptionDialogJ

public CMExceptionDialogJ(Frame owner)
CMExceptionDialogJ constructor comment.

Parameters:
owner - java.awt.Frame

CMExceptionDialogJ

public CMExceptionDialogJ(Frame owner,
                          String title)
CMExceptionDialogJ constructor comment.

Parameters:
owner - java.awt.Frame
title - java.lang.String

CMExceptionDialogJ

public CMExceptionDialogJ(Frame owner,
                          String title,
                          boolean modal)
CMExceptionDialogJ constructor comment.

Parameters:
owner - java.awt.Frame
title - java.lang.String
modal - boolean

CMExceptionDialogJ

public CMExceptionDialogJ(Frame owner,
                          boolean modal)
CMExceptionDialogJ constructor comment.

Parameters:
owner - java.awt.Frame
modal - boolean

CMExceptionDialogJ

public CMExceptionDialogJ(CMFrameJ owner)
CMExceptionDialogJ constructor comment.

Parameters:
owner - planetj.gui.CMFrameJ

CMExceptionDialogJ

public CMExceptionDialogJ(CMFrameJ owner,
                          String title)
CMExceptionDialogJ constructor comment.

Parameters:
owner - planetj.gui.CMFrameJ
title - java.lang.String

CMExceptionDialogJ

public CMExceptionDialogJ(CMFrameJ owner,
                          String title,
                          boolean modal)
CMExceptionDialogJ constructor comment.

Parameters:
owner - planetj.gui.CMFrameJ
title - java.lang.String
modal - boolean

CMExceptionDialogJ

public CMExceptionDialogJ(CMFrameJ owner,
                          boolean modal)
CMExceptionDialogJ constructor comment.

Parameters:
owner - planetj.gui.CMFrameJ
modal - boolean
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Method to handle events for the ActionListener interface.

Specified by:
actionPerformed in interface ActionListener
Parameters:
e - java.awt.event.ActionEvent

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
The addPropertyChangeListener method was generated to support the propertyChange field.

Overrides:
addPropertyChangeListener in class Window

firePropertyChange

public void firePropertyChange(String propertyName,
                               Object oldValue,
                               Object newValue)
The firePropertyChange method was generated to support the propertyChange field.

Overrides:
firePropertyChange in class Component

getType

public int getType()
Insert the method's description here. Creation date: (7/15/03 9:45:52 AM)

Returns:
int

main

public static void main(String[] args)
main entrypoint - starts the part when it is run as an application

Parameters:
args - java.lang.String[]

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Method to handle events for the PropertyChangeListener interface.

Specified by:
propertyChange in interface PropertyChangeListener
Parameters:
evt - java.beans.PropertyChangeEvent

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
The removePropertyChangeListener method was generated to support the propertyChange field.

Overrides:
removePropertyChangeListener in class Component

setDetails

public void setDetails(String pDetailsText)
Sets the details Creation date: (7/15/03 9:37:08 AM)


setException

public void setException(CMException newValue)

setMessage

public void setMessage(String pMessageText)
Sets the message Creation date: (7/15/03 9:37:08 AM)


setType

public void setType(int newType)
Insert the method's description here. Creation date: (7/15/03 9:45:52 AM)

Parameters:
newType - int

show

public void show()
this will ensure a default cursor is displayed every time this dialog is brought up.

Overrides:
show in class CMDialogJ

stateChanged

public void stateChanged(ChangeEvent e)
Method to handle events for the ChangeListener interface.

Specified by:
stateChanged in interface ChangeListener
Parameters:
e - javax.swing.event.ChangeEvent

tabChangeEvent

public void tabChangeEvent()
Comment


windowActivated

public void windowActivated(WindowEvent e)
Method to handle events for the WindowListener interface.

Specified by:
windowActivated in interface WindowListener
Parameters:
e - java.awt.event.WindowEvent

windowClosed

public void windowClosed(WindowEvent e)
Method to handle events for the WindowListener interface.

Specified by:
windowClosed in interface WindowListener
Parameters:
e - java.awt.event.WindowEvent

windowClosing

public void windowClosing(WindowEvent e)
Method to handle events for the WindowListener interface.

Specified by:
windowClosing in interface WindowListener
Parameters:
e - java.awt.event.WindowEvent

windowDeactivated

public void windowDeactivated(WindowEvent e)
Method to handle events for the WindowListener interface.

Specified by:
windowDeactivated in interface WindowListener
Parameters:
e - java.awt.event.WindowEvent

windowDeiconified

public void windowDeiconified(WindowEvent e)
Method to handle events for the WindowListener interface.

Specified by:
windowDeiconified in interface WindowListener
Parameters:
e - java.awt.event.WindowEvent

windowIconified

public void windowIconified(WindowEvent e)
Method to handle events for the WindowListener interface.

Specified by:
windowIconified in interface WindowListener
Parameters:
e - java.awt.event.WindowEvent

windowOpened

public void windowOpened(WindowEvent e)
Method to handle events for the WindowListener interface.

Specified by:
windowOpened in interface WindowListener
Parameters:
e - java.awt.event.WindowEvent