|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.denova.ui.UserNotices
Report errors, give warnings, ask yes/no questions of users.
| Constructor Summary | |
UserNotices()
|
|
| Method Summary | |
static boolean |
ask(java.lang.String title,
java.lang.String question,
java.util.List explanation,
java.lang.String yesOption,
java.lang.String noOption)
Ask the user a YES/NO question. |
static boolean |
ask(java.lang.String title,
java.lang.String question,
java.util.List explanation,
java.lang.String yesOption,
java.lang.String noOption,
java.lang.String defaultOption)
Ask the user a YES/NO question and give an explanation. |
static boolean |
ask(java.lang.String title,
java.lang.String question,
java.lang.String yesOption,
java.lang.String noOption)
Ask the user a YES/NO question. |
static void |
awtNoteError(java.lang.String message)
Display an error message via AWT. |
static void |
note(java.util.List note,
java.lang.String doneOption)
Display a message using a JDialog box. |
static void |
note(java.lang.String message)
Display a message using a JDialog box. |
static void |
note(java.lang.String header,
java.util.List note,
java.lang.String doneOption)
Display a message using a JDialog box. |
static void |
note(java.lang.String message,
java.lang.String doneOption)
Display a message using a JDialog box. |
static void |
note(java.lang.String title,
java.lang.String header,
java.util.List note,
java.lang.String doneOption)
Display a message using a JDialog box. |
static void |
noteError(java.lang.String message)
Display an error message using a JDialog box. |
static void |
noteError(java.lang.String message,
java.lang.String doneOption)
Display an error message using a JDialog box. |
static void |
noteError(java.lang.String title,
java.lang.String header,
java.util.List note,
java.lang.String doneOption)
Display an error message using a JDialog box. |
static void |
noteError(java.lang.String title,
java.lang.String message,
java.lang.String doneOption)
Display an error message using a JDialog box. |
static void |
unexpectedStartupError()
Display error message that Swing is required. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UserNotices()
| Method Detail |
public static boolean ask(java.lang.String title,
java.lang.String question,
java.lang.String yesOption,
java.lang.String noOption)
title - title of dialog box.question - question in bold text.yesOption - text for a positive answer.noOption - text for a negative answer.
public static boolean ask(java.lang.String title,
java.lang.String question,
java.util.List explanation,
java.lang.String yesOption,
java.lang.String noOption)
title - title of dialog box.question - question in bold text.explanation - each item is an paragraph giving details about q/a.yesOption - text for a positive answer.noOption - text for a negative answer.
public static boolean ask(java.lang.String title,
java.lang.String question,
java.util.List explanation,
java.lang.String yesOption,
java.lang.String noOption,
java.lang.String defaultOption)
title - title of dialog box.question - question in bold text.explanation - each item is an paragraph giving details about q/a.yesOption - text for a positive answer.noOption - text for a negative answer.defaultOption - option to highlight as default.
public static void note(java.lang.String message)
message - Note to user.
public static void note(java.lang.String message,
java.lang.String doneOption)
message - Note to user.doneOption - Text for the button.
public static void note(java.util.List note,
java.lang.String doneOption)
note - Message to user.doneOption - Text for the button.
public static void note(java.lang.String header,
java.util.List note,
java.lang.String doneOption)
header - Main point of note.note - Additioinal details.doneOption - Text for the button.
public static void note(java.lang.String title,
java.lang.String header,
java.util.List note,
java.lang.String doneOption)
title - Title for the dialog box.header - Main point of note.note - Additioinal details.doneOption - Text for the button.public static void noteError(java.lang.String message)
message - an error message.
public static void noteError(java.lang.String message,
java.lang.String doneOption)
message - 1 or more strings that display.doneOption - the text for the OK button
public static void noteError(java.lang.String title,
java.lang.String message,
java.lang.String doneOption)
title - title of the popup dialog box.message - 1 or more strings that display.doneOption - the text for the OK button
public static void noteError(java.lang.String title,
java.lang.String header,
java.util.List note,
java.lang.String doneOption)
title - title of the popup dialog box.header - 1st paragraph in large, bold face.note - list of strings that display.doneOption - the text for the OK buttonpublic static void awtNoteError(java.lang.String message)
message - a one line message.public static void unexpectedStartupError()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||