public class DontShowAgainMessageBox
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
dontShowAgainMessageBox(Plugin plugin,
java.lang.String messageBoxId,
java.awt.Component parentComponent,
java.lang.String message)
Shows a messagebox with a checkbox that enables the user to hide the dialog.
|
static void |
dontShowAgainMessageBox(Plugin plugin,
java.lang.String messageBoxId,
java.awt.Component parentComponent,
java.lang.String message,
java.lang.String title)
Shows a messagebox with a checkbox that enables the user to hide the dialog.
|
static void |
dontShowAgainMessageBox(Plugin plugin,
java.lang.String messageBoxId,
java.awt.Component parent,
java.lang.String message,
java.lang.String title,
int messageType)
Shows a messagebox with a checkbox that enables the user to hide the dialog.
|
static boolean |
isMessageBoxIdSet(Plugin plugin,
java.lang.String messageBoxId) |
static void |
setMessageBoxId(Plugin plugin,
java.lang.String messageBoxId,
boolean value)
Set the value for the messageBoxId.
|
public static void dontShowAgainMessageBox(Plugin plugin, java.lang.String messageBoxId, java.awt.Component parent, java.lang.String message, java.lang.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, java.lang.String messageBoxId, java.awt.Component parentComponent, java.lang.String message, java.lang.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, java.lang.String messageBoxId, java.awt.Component parentComponent, java.lang.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, java.lang.String messageBoxId)
plugin
- plugin that uses the messageboxmessageBoxId
- check this messageBoxIdpublic static void setMessageBoxId(Plugin plugin, java.lang.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 3.4.1.0, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)