org.w3c.jwput.gui
Interface JWDialog
- All Known Implementing Classes:
- LanguageDialog, JWPreferences, PasswordDialog, QuestionDialog, FileDialog, MessageDialog, StringDialog
- public interface JWDialog
Interface for Winie Dialogs
Field Summary |
static int |
ABORT_OPTION
Return value if abort is chosen. |
static int |
APPROVE_OPTION
Return value if approve (yes, ok) is chosen. |
static int |
CANCEL_OPTION
Return value if cancel is chosen. |
static int |
ERROR_OPTION
Return value if an error occured. |
Method Summary |
int |
showDialog(java.awt.Component comp)
Show this modal dialog |
CANCEL_OPTION
public static final int CANCEL_OPTION
- Return value if cancel is chosen.
APPROVE_OPTION
public static final int APPROVE_OPTION
- Return value if approve (yes, ok) is chosen.
ABORT_OPTION
public static final int ABORT_OPTION
- Return value if abort is chosen.
ERROR_OPTION
public static final int ERROR_OPTION
- Return value if an error occured.
showDialog
public int showDialog(java.awt.Component comp)
- Show this modal dialog
- Parameters:
comp
- the parent component- Returns:
- CANCEL_OPTION, APPROVE_OPTION, ERROR_OPTION