public class DontShowAgainOptionBox
extends java.lang.Object
Constructor and Description |
---|
DontShowAgainOptionBox() |
Modifier and Type | Method and Description |
---|---|
static int |
showOptionDialog(java.lang.String messageBoxId,
java.awt.Component parentComponent,
java.lang.String message)
Creates an option dialog with JOptionPane.
|
static int |
showOptionDialog(java.lang.String messageBoxId,
java.awt.Component parentComponent,
java.lang.String message,
java.lang.String title)
Creates an option dialog with JOptionPane.
|
static int |
showOptionDialog(java.lang.String messageBoxId,
java.awt.Component parent,
java.lang.String message,
java.lang.String title,
int messageType)
Creates an option dialog with JOptionPane.
|
static int |
showOptionDialog(java.lang.String messageBoxId,
java.awt.Component parent,
java.lang.String message,
java.lang.String title,
int messageType,
int optionType,
java.lang.Object[] options,
java.lang.Object initialValue,
java.lang.String dontShowAgainLabel)
Creates an option dialog with JOptionPane.
|
public static int showOptionDialog(java.lang.String messageBoxId, java.awt.Component parent, java.lang.String message, java.lang.String title, int messageType, int optionType, java.lang.Object[] options, java.lang.Object initialValue, java.lang.String dontShowAgainLabel)
messageBoxId
- The id for this message box.parent
- The praent component of this dialog.message
- The message to show the user.title
- The title of the option dialog.messageType
- The message type of the option dialog, value are {#javax.swing.JOptionPane.ERROR_MESSAGE}, {#javax.swing.JOptionPane.INFORMATION_MESSAGE}, {#javax.swing.JOptionPane.WARNING_MESSAGE}.optionType
- The option type of the option dialog, values are JOptionPane.YES_OPTION
, JOptionPane.YES_NO_OPTION
, JOptionPane.YES_NO_CANCEL_OPTION
, JOptionPane.OK_OPTION
,
JOptionPane.OK_CANCEL_OPTION
, JOptionPane.DEFAULT_OPTION
.options
- The options to show on the option buttons.initialValue
- The option initially selected.dontShowAgainLabel
- The label for the check box or, null
for the default label.public static int showOptionDialog(java.lang.String messageBoxId, java.awt.Component parent, java.lang.String message, java.lang.String title, int messageType)
messageBoxId
- The id for this message box.parent
- The praent component of this dialog.message
- The message to show the user.title
- The title of the option dialog.messageType
- The message type of the option dialog, value are {#javax.swing.JOptionPane.ERROR_MESSAGE}, {#javax.swing.JOptionPane.INFORMATION_MESSAGE}, {#javax.swing.JOptionPane.WARNING_MESSAGE}.public static int showOptionDialog(java.lang.String messageBoxId, java.awt.Component parentComponent, java.lang.String message, java.lang.String title)
messageBoxId
- The id for this message box.parentComponent
- The praent component of this dialog.message
- The message to show the user.title
- The title of the option dialog.public static int showOptionDialog(java.lang.String messageBoxId, java.awt.Component parentComponent, java.lang.String message)
messageBoxId
- The id for this message box.parentComponent
- The praent component of this dialog.message
- The message to show the user.TV-Browser 3.4.4, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)