All Packages Class Hierarchy This Package Previous Next Index
Class sofiae.util.AlertWindow
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----sofiae.util.AlertWindow
- public class AlertWindow
- extends java.awt.Dialog
- implements java.awt.event.ActionListener
This class defines a very simple alert window, with just a "OK" button.
It uses the TextCanvas class to display its message properly in the allotted space.
- Version:
- 1.00, 24 August 2001
- Author:
- François Suter
- See Also:
- sofiae.util.TextCanvas
-
BUTTON_HEIGHT
-
-
DEFAULT_HEIGHT
-
-
DEFAULT_WIDTH
-
-
font
-
-
okButton
-
-
textArea
-
-
theString
-
-
AlertWindow(String)
-
-
AlertWindow(String, Font)
-
-
AlertWindow(String, int, int, Font)
-
-
actionPerformed(ActionEvent)
-
DEFAULT_WIDTH
private static final int DEFAULT_WIDTH
DEFAULT_HEIGHT
private static final int DEFAULT_HEIGHT
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT
okButton
private java.awt.Button okButton
theString
private java.lang.String theString
textArea
private sofiae.util.TextCanvas textArea
font
private java.awt.Font font
AlertWindow
public AlertWindow(java.lang.String alertString,
int width,
int height,
java.awt.Font newFont)
AlertWindow
public AlertWindow(java.lang.String alertString,
java.awt.Font newFont)
AlertWindow
public AlertWindow(java.lang.String alertString)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
All Packages Class Hierarchy This Package Previous Next Index