All Packages Class Hierarchy This Package Previous Next Index
Class ch.swisslife.ibgm.mc2.YesNoDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----ch.swisslife.ibgm.mc2.YesNoDialog
- public class YesNoDialog
- extends Dialog
Dialog with 2 Buttons: Yes or No.
-
CANCEL
-
-
cancel
-
-
label
-
-
no
-
-
NO
-
-
YES
-
-
yes
-
-
YesNoDialog(Frame, String, String, String, String, String)
- Constructor with all arguments.
-
kill()
-
NO
public static final int NO
YES
public static final int YES
CANCEL
public static final int CANCEL
yes
public Button yes
no
public Button no
cancel
public Button cancel
label
public MultiLineLabel label
YesNoDialog
public YesNoDialog(Frame parent,
String title,
String message,
String yes_label,
String no_label,
String cancel_label)
- Constructor with all arguments.
- Parameters:
- parent - A Frame
- title - String with window title
- message - String with the message
- yes_label - String with text of yes button
- no_label - String with text of no button
- cancel_label - STring with text of cancel button
kill
public void kill()
All Packages Class Hierarchy This Package Previous Next Index