|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.ui.DontShowAgainOptionBox
public class DontShowAgainOptionBox
This class offers an option box that shows a dialog with a checkbox to disable the dialog
Constructor Summary | |
---|---|
DontShowAgainOptionBox()
|
Method Summary | |
---|---|
static int |
dontShowAgainMessageBox(Plugin plugin,
java.lang.String optionBoxId,
java.awt.Component parentComponent,
java.lang.String message)
Shows a option box with a checkbox that enables the user to hide the dialog. |
static int |
dontShowAgainMessageBox(Plugin plugin,
java.lang.String optionBoxId,
java.awt.Component parentComponent,
java.lang.String message,
java.lang.String title)
Shows a option box with a checkbox that enables the user to hide the dialog. |
static int |
dontShowAgainMessageBox(Plugin plugin,
java.lang.String optionBoxId,
java.awt.Component parent,
java.lang.String message,
java.lang.String title,
int messageType)
Shows an option box with a checkbox that enables the user to hide the dialog. |
static int |
dontShowAgainMessageBox(Plugin plugin,
java.lang.String optionBoxId,
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)
Shows an option box with a checkbox that enables the user to hide the dialog. |
static boolean |
isOptionBoxIdSet(Plugin plugin,
java.lang.String optionBoxId)
|
static void |
setOptionBoxId(Plugin plugin,
java.lang.String optionBoxId,
boolean value)
Set the value for the optionBoxId. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DontShowAgainOptionBox()
Method Detail |
---|
public static int dontShowAgainMessageBox(Plugin plugin, java.lang.String optionBoxId, 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)
plugin
- Plugin that wants to show a option boxoptionBoxId
- the unique id for the option boxparent
- parent frame for the option boxmessage
- message for the boxtitle
- title for the boxmessageType
- MessageType, values 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.
JOptionPane.YES_OPTION
, JOptionPane.YES_NO_OPTION
, JOptionPane.YES_NO_CANCEL_OPTION
, JOptionPane.OK_OPTION
,
JOptionPane.OK_CANCEL_OPTION
, JOptionPane.DEFAULT_OPTION
.public static int dontShowAgainMessageBox(Plugin plugin, java.lang.String optionBoxId, java.awt.Component parent, java.lang.String message, java.lang.String title, int messageType)
plugin
- Plugin that wants to show a option boxoptionBoxId
- the unique id for the option boxparent
- parent frame for the option boxmessage
- message for the boxtitle
- title for the boxmessageType
- MessageType, values are {#javax.swing.JOptionPane.ERROR_MESSAGE}, {#javax.swing.JOptionPane.INFORMATION_MESSAGE}, {#javax.swing.JOptionPane.WARNING_MESSAGE}
JOptionPane.YES_OPTION
, JOptionPane.YES_NO_OPTION
, JOptionPane.YES_NO_CANCEL_OPTION
, JOptionPane.OK_OPTION
,
JOptionPane.OK_CANCEL_OPTION
, JOptionPane.DEFAULT_OPTION
.public static int dontShowAgainMessageBox(Plugin plugin, java.lang.String optionBoxId, java.awt.Component parentComponent, java.lang.String message, java.lang.String title)
plugin
- Plugin that wants to show a option boxoptionBoxId
- the unique id for the option boxparentComponent
- parent frame for the option boxmessage
- message for the boxtitle
- title for the box
JOptionPane.YES_OPTION
, JOptionPane.YES_NO_OPTION
, JOptionPane.YES_NO_CANCEL_OPTION
, JOptionPane.OK_OPTION
,
JOptionPane.OK_CANCEL_OPTION
, JOptionPane.DEFAULT_OPTION
.public static int dontShowAgainMessageBox(Plugin plugin, java.lang.String optionBoxId, java.awt.Component parentComponent, java.lang.String message)
plugin
- Plugin that wants to show a option boxoptionBoxId
- the unique id for the option boxparentComponent
- parent frame for the option boxmessage
- message for the box
JOptionPane.YES_OPTION
, JOptionPane.YES_NO_OPTION
, JOptionPane.YES_NO_CANCEL_OPTION
, JOptionPane.OK_OPTION
,
JOptionPane.OK_CANCEL_OPTION
, JOptionPane.DEFAULT_OPTION
.public static boolean isOptionBoxIdSet(Plugin plugin, java.lang.String optionBoxId)
plugin
- plugin that uses the option boxoptionBoxId
- check this optionBoxId
public static void setOptionBoxId(Plugin plugin, java.lang.String optionBoxId, boolean value)
plugin
- plugin that uses the option boxoptionBoxId
- check this optionBoxIdvalue
- new value, true
to disable the dialog, false
, to enable the dialog
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |