All Packages Class Hierarchy This Package Previous Next Index
Class ch.swisslife.ibgm.mc2.WarnDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----ch.swisslife.ibgm.mc2.WarnDialog
- public class WarnDialog
- extends Dialog
- implements ActionListener, WindowListener
Info or error dialog with OK button.
Caution: should be called using main(title, message).
-
button
-
-
label
-
-
WarnDialog(Frame, String, String)
- Constructor with title and message and a frame.
-
actionPerformed(ActionEvent)
- Closes window if button is pressed.
-
main(String[])
- Main method with title and message as argument.
-
windowActivated(WindowEvent)
-
-
windowClosed(WindowEvent)
-
-
windowClosing(WindowEvent)
- Closes window if button is pressed.
-
windowDeactivated(WindowEvent)
-
-
windowDeiconified(WindowEvent)
-
-
windowIconified(WindowEvent)
-
-
windowOpened(WindowEvent)
-
button
protected Button button
label
protected MultiLineLabel label
WarnDialog
public WarnDialog(Frame parent,
String title,
String message)
- Constructor with title and message and a frame.
- Parameters:
- title - String containing the Title of the dialog
- message - String with the message of the dialog
actionPerformed
public void actionPerformed(ActionEvent event)
- Closes window if button is pressed.
- Parameters:
- event - Event received by the button
windowClosing
public void windowClosing(WindowEvent e)
- Closes window if button is pressed.
- Parameters:
- event - Event received by the button
windowOpened
public void windowOpened(WindowEvent e)
windowClosed
public void windowClosed(WindowEvent e)
windowIconified
public void windowIconified(WindowEvent e)
windowDeiconified
public void windowDeiconified(WindowEvent e)
windowActivated
public void windowActivated(WindowEvent e)
windowDeactivated
public void windowDeactivated(WindowEvent e)
main
public static void main(String argv[])
- Main method with title and message as argument. Class should be used with a call to main().
All Packages Class Hierarchy This Package Previous Next Index