Class powersoft.jcm.ui.MessageBox
All Packages Class Hierarchy This Package Previous Next Index
Class powersoft.jcm.ui.MessageBox
java.lang.Object
|
+----powersoft.jcm.ui.MessageBox
- public class MessageBox
- extends Object
The MessageBox class
-
MessageBox()
-
-
info(String, String)
- Displays a message box of a preset style containing a text.
-
message(byte, String, String)
- Displays a message box.
-
message(String[], String, String)
- Displays a message box with user-defined buttons.
MessageBox
public MessageBox()
message
public static byte message(byte style,
String caption,
String text)
- Displays a message box.
@param caption the caption of the message box; if null, "Error"
will be used
@param text the error message to be displayed in the message box
@param style one of the constants in MessageBoxStyle
@return the button pressed. One of the constants in MessageBoxReturn.
message
public static byte message(String buttons[],
String caption,
String text)
- Displays a message box with user-defined buttons.
@param buttons an array of the names of the buttons
@param caption the caption of the message box; if null, "Error"
will be used
@param text the error message to be displayed in the message box
@return the index of the button in 'buttons' pressed
info
public static byte info(String caption,
String text)
- Displays a message box of a preset style containing a text.
= message( MessageBoxStyle.Ok, caption, text )
All Packages Class Hierarchy This Package Previous Next Index