| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Window
|
+--java.awt.Dialog
|
+--CSLib.ClosableDialog
ClosableDialog is a base class that obeys the
windowClosing event. It is extended by various
CSLib classes. It uses an inner class,
DialogCloser to implement the windowClosing listener,
with DialogCloser extending the WindowAdapter
class.
ClosableDialog should be compared with
ClosableFrame, which implements the
WindowListener methods individually.
| Inner Class Summary | |
(package private) class | ClosableDialog.DialogCloserDialogCloser is an inner class that implements the
windowClosing listener for ClosableDialog. |
| Fields inherited from class java.awt.Component |
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT |
| Constructor Summary | |
ClosableDialog()Constructs a non-modal dialog box in a new frame with a blank title; this dialog box can respond to the "window closing" event. | |
ClosableDialog(boolean modal)Constructs a dialog box in a new frame with a blank title and a specified modality; this dialog box can respond to the "window closing" event. | |
ClosableDialog(String title)Constructs a non-modal dialog box in a new frame with a specified title; this dialog box can respond to the "window closing" event. | |
ClosableDialog(String title, boolean modal)Constructs a dialog box in a new frame with a specified title and modality; this dialog box can respond to the "window closing" event. | |
ClosableDialog(Frame home, String title, boolean modal)Constructs a dialog box with a specified title and modality; this dialog box can respond to the "window closing" event. | |
| Methods inherited from class java.awt.Dialog |
addNotify, isModal, setModal, getTitle, setTitle, show, hide, dispose, isResizable, setResizable, getAccessibleContext |
| Methods inherited from class java.awt.Window |
pack, toFront, toBack, getToolkit, getWarningString, getLocale, getInputContext, setCursor, getOwner, getOwnedWindows, addWindowListener, removeWindowListener, getListeners, getFocusOwner, postEvent, isShowing, applyResourceBundle, applyResourceBundle, getGraphicsConfiguration |
| Methods inherited from class java.awt.Container |
getComponentCount, countComponents, getComponent, getComponents, getInsets, insets, add, add, add, add, add, remove, remove, removeAll, getLayout, setLayout, doLayout, layout, invalidate, validate, setFont, getPreferredSize, preferredSize, getMinimumSize, minimumSize, getMaximumSize, getAlignmentX, getAlignmentY, paint, update, print, paintComponents, printComponents, addContainerListener, removeContainerListener, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, removeNotify, isAncestorOf, list, list |
| Methods inherited from class java.awt.Component |
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getTreeLock, isValid, isDisplayable, isVisible, isEnabled, setEnabled, enable, enable, disable, isDoubleBuffered, enableInputMethods, setVisible, show, getForeground, setForeground, getBackground, setBackground, getFont, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, reshape, setBounds, getX, getY, getWidth, getHeight, getBounds, getSize, getLocation, isOpaque, isLightweight, getGraphics, getFontMetrics, getCursor, paintAll, repaint, repaint, repaint, repaint, printAll, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, contains, inside, contains, dispatchEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getInputMethodRequests, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, isFocusTraversable, requestFocus, transferFocus, nextFocus, hasFocus, add, remove, toString, list, list, list, addPropertyChangeListener, removePropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, setComponentOrientation, getComponentOrientation |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ClosableDialog()
public ClosableDialog(boolean modal)
public ClosableDialog(String title)
public ClosableDialog(String title, boolean modal)
public ClosableDialog(Frame home, String title, boolean modal)
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||