public class DontShowAgainMessageBox extends Object
Constructor and Description |
---|
DontShowAgainMessageBox() |
Modifier and Type | Method and Description |
---|---|
static void |
dontShowAgainMessageBox(Plugin plugin,
String messageBoxId,
Component parentComponent,
String message)
Shows a messagebox with a checkbox that enables the user to hide the dialog.
|
static void |
dontShowAgainMessageBox(Plugin plugin,
String messageBoxId,
Component parentComponent,
String message,
String title)
Shows a messagebox with a checkbox that enables the user to hide the dialog.
|
static void |
dontShowAgainMessageBox(Plugin plugin,
String messageBoxId,
Component parent,
String message,
String title,
int messageType)
Shows a messagebox with a checkbox that enables the user to hide the dialog.
|
static boolean |
isMessageBoxIdSet(Plugin plugin,
String messageBoxId) |
static void |
setMessageBoxId(Plugin plugin,
String messageBoxId,
boolean value)
Set the value for the messageBoxId.
|
public static void dontShowAgainMessageBox(Plugin plugin, String messageBoxId, Component parent, String message, String title, int messageType)
plugin
- Plugin that wants to show a messageboxmessageBoxId
- the unique id for the messageboxparent
- parent frame for the messageboxmessage
- 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}public static void dontShowAgainMessageBox(Plugin plugin, String messageBoxId, Component parentComponent, String message, String title)
plugin
- Plugin that wants to show a messageboxmessageBoxId
- the unique id for the messageboxparentComponent
- parent frame for the messageboxmessage
- message for the boxtitle
- title for the boxpublic static void dontShowAgainMessageBox(Plugin plugin, String messageBoxId, Component parentComponent, String message)
plugin
- Plugin that wants to show a messageboxmessageBoxId
- the unique id for the messageboxparentComponent
- parent frame for the messageboxmessage
- message for the boxpublic static boolean isMessageBoxIdSet(Plugin plugin, String messageBoxId)
plugin
- plugin that uses the messageboxmessageBoxId
- check this messageBoxIdpublic static void setMessageBoxId(Plugin plugin, String messageBoxId, boolean value)
plugin
- plugin that uses the messageboxmessageBoxId
- check this messageBoxIdvalue
- new value, true
to disable the dialog, false
, to enable the dialogTV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)