public abstract class MacMessages
extends java.lang.Object
Constructor and Description |
---|
MacMessages() |
Modifier and Type | Method and Description |
---|---|
static MacMessages |
getInstance() |
abstract void |
showErrorDialog(java.lang.String title,
java.lang.String message,
java.lang.String okButton,
java.awt.Window window) |
abstract int |
showMessageDialog(java.lang.String title,
java.lang.String message,
java.lang.String [] buttons,
boolean errorStyle,
java.awt.Window window,
int defaultOptionIndex,
int focusedOptionIndex,
DialogWrapper.DoNotAskOption doNotAskDialogOption)
Buttons are placed starting near the right side of the alert and going toward the left side
(for languages that read left to right).
|
abstract void |
showOkMessageDialog(java.lang.String title,
java.lang.String message,
java.lang.String okText) |
abstract void |
showOkMessageDialog(java.lang.String title,
java.lang.String message,
java.lang.String okText,
java.awt.Window window) |
abstract int |
showYesNoCancelDialog(java.lang.String title,
java.lang.String message,
java.lang.String defaultButton,
java.lang.String alternateButton,
java.lang.String otherButton,
java.awt.Window window,
DialogWrapper.DoNotAskOption doNotAskOption) |
abstract int |
showYesNoDialog(java.lang.String title,
java.lang.String message,
java.lang.String yesButton,
java.lang.String noButton,
java.awt.Window window) |
abstract int |
showYesNoDialog(java.lang.String title,
java.lang.String message,
java.lang.String yesButton,
java.lang.String noButton,
java.awt.Window window,
DialogWrapper.DoNotAskOption doNotAskDialogOption) |
public abstract int showYesNoCancelDialog(java.lang.String title, java.lang.String message, java.lang.String defaultButton, java.lang.String alternateButton, java.lang.String otherButton, java.awt.Window window, DialogWrapper.DoNotAskOption doNotAskOption)
public static MacMessages getInstance()
public abstract int showMessageDialog(java.lang.String title, java.lang.String message, java.lang.String [] buttons, boolean errorStyle, java.awt.Window window, int defaultOptionIndex, int focusedOptionIndex, DialogWrapper.DoNotAskOption doNotAskDialogOption)
public abstract void showOkMessageDialog(java.lang.String title, java.lang.String message, java.lang.String okText, java.awt.Window window)
public abstract void showOkMessageDialog(java.lang.String title, java.lang.String message, java.lang.String okText)
public abstract int showYesNoDialog(java.lang.String title, java.lang.String message, java.lang.String yesButton, java.lang.String noButton, java.awt.Window window)
Messages.YES
if user pressed "Yes" or Messages.NO
if user pressed "No" button.public abstract int showYesNoDialog(java.lang.String title, java.lang.String message, java.lang.String yesButton, java.lang.String noButton, java.awt.Window window, DialogWrapper.DoNotAskOption doNotAskDialogOption)
Messages.YES
if user pressed "Yes" or Messages.NO
if user pressed "No" button.public abstract void showErrorDialog(java.lang.String title, java.lang.String message, java.lang.String okButton, java.awt.Window window)