|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hillenbrand.jreqtools.JReqTools
A convenience class that provides "shortcuts" to frequently used requesters and dialogs.
Method Summary | |
static javax.swing.Action |
getAboutAction(javax.swing.JDialog parent,
java.lang.String abouttext)
|
static javax.swing.Action |
getAboutAction(javax.swing.JFrame parent,
java.lang.String abouttext)
|
static java.lang.String |
getResourceString(java.lang.String id)
|
static java.lang.String |
getResourceString(java.lang.String id,
java.lang.String arg1)
|
static byte |
requestByte(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
byte defaultValue)
|
static byte |
requestByte(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message,
byte defaultValue)
|
static double |
requestDouble(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
double defaultValue)
|
static double |
requestDouble(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message,
double defaultValue)
|
static float |
requestFloat(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
float defaultValue)
|
static float |
requestFloat(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message,
float defaultValue)
|
static javax.swing.Icon |
requestIcon(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
javax.swing.Icon[] icons,
javax.swing.Icon defaultIcon)
|
static javax.swing.Icon |
requestIcon(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message,
javax.swing.Icon[] icons,
javax.swing.Icon defaultIcon)
|
static int |
requestInteger(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
int defaultValue)
|
static int |
requestInteger(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message,
int defaultValue)
|
static long |
requestLong(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
long defaultValue)
|
static long |
requestLong(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message,
long defaultValue)
|
static java.lang.Object |
requestObject(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
java.lang.Object[] selectableValues)
|
static java.lang.Object |
requestObject(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
java.lang.Object[] selectableValues,
java.lang.Object selectedValue)
|
static java.lang.Object |
requestObject(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message,
java.lang.Object[] selectableValues)
|
static java.lang.Object |
requestObject(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message,
java.lang.Object[] selectableValues,
java.lang.Object selectedValue)
|
static char[] |
requestPassword(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message)
|
static char[] |
requestPassword(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message)
|
static short |
requestShort(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
short defaultValue)
|
static short |
requestShort(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message,
short defaultValue)
|
static java.lang.String |
requestString(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
java.lang.String defaultValue)
|
static java.lang.String |
requestString(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message,
java.lang.String defaultValue)
|
static java.lang.String |
requestText(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message,
java.lang.String defaultValue)
|
static java.lang.String |
requestText(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message,
java.lang.String defaultValue)
|
static void |
showAboutMessage(javax.swing.JDialog parent,
java.lang.String message)
|
static void |
showAboutMessage(javax.swing.JFrame parent,
java.lang.String message)
|
static void |
showError(javax.swing.JDialog parent,
java.lang.String message)
|
static void |
showError(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message)
|
static void |
showError(javax.swing.JFrame parent,
java.lang.String message)
|
static void |
showError(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message)
|
static void |
showException(javax.swing.JDialog parent,
java.lang.Throwable throwable)
|
static void |
showException(javax.swing.JFrame parent,
java.lang.Throwable throwable)
|
static void |
showMessage(javax.swing.JDialog parent,
java.lang.String message)
|
static void |
showMessage(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String message)
|
static void |
showMessage(javax.swing.JFrame parent,
java.lang.String message)
|
static void |
showMessage(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String message)
|
static void |
showNotYetImplemented(javax.swing.JDialog parent)
Pops up a dialog that tells the user that the request funtionality has not yet been implemented. |
static void |
showNotYetImplemented(javax.swing.JFrame parent)
Pops up a dialog that tells the user that the request funtionality has not yet been implemented. |
static boolean |
showQuestion(javax.swing.JDialog parent,
java.lang.String question)
Shows a dialog with a question the user should answer. |
static boolean |
showQuestion(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String question)
Shows a dialog with a question the user should answer. |
static boolean |
showQuestion(javax.swing.JDialog parent,
java.lang.String question,
java.lang.String yesButton,
java.lang.String noButton)
Shows a dialog with a question the user should answer. |
static int |
showQuestion(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String question,
java.lang.String[] answers,
javax.swing.Icon[] buttonIcons,
int defaultAnswer)
Shows a dialog with a question the user should answer. |
static int |
showQuestion(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String question,
java.lang.String[] answers,
int defaultAnswer)
Shows a dialog with a question the user should answer. |
static boolean |
showQuestion(javax.swing.JDialog parent,
java.lang.String title,
java.lang.String question,
java.lang.String yesButton,
java.lang.String noButton)
Shows a dialog with a question the user should answer. |
static boolean |
showQuestion(javax.swing.JFrame parent,
java.lang.String question)
Shows a dialog with a question the user should answer. |
static boolean |
showQuestion(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String question)
Shows a dialog with a question the user should answer. |
static boolean |
showQuestion(javax.swing.JFrame parent,
java.lang.String question,
java.lang.String yesButton,
java.lang.String noButton)
Shows a dialog with a question the user should answer. |
static int |
showQuestion(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String question,
java.lang.String[] answers,
javax.swing.Icon[] buttonIcons,
int defaultAnswer)
Shows a dialog with a question the user should answer. |
static int |
showQuestion(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String question,
java.lang.String[] answers,
int defaultAnswer)
Shows a dialog with a question the user should answer. |
static boolean |
showQuestion(javax.swing.JFrame parent,
java.lang.String title,
java.lang.String question,
java.lang.String yesButton,
java.lang.String noButton)
Shows a dialog with a question the user should answer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static javax.swing.Action getAboutAction(javax.swing.JDialog parent, java.lang.String abouttext)
public static javax.swing.Action getAboutAction(javax.swing.JFrame parent, java.lang.String abouttext)
public static java.lang.String getResourceString(java.lang.String id)
public static java.lang.String getResourceString(java.lang.String id, java.lang.String arg1)
public static byte requestByte(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, byte defaultValue)
public static byte requestByte(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, byte defaultValue)
public static double requestDouble(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, double defaultValue)
public static double requestDouble(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, double defaultValue)
public static float requestFloat(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, float defaultValue)
public static float requestFloat(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, float defaultValue)
public static javax.swing.Icon requestIcon(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, javax.swing.Icon[] icons, javax.swing.Icon defaultIcon)
public static javax.swing.Icon requestIcon(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, javax.swing.Icon[] icons, javax.swing.Icon defaultIcon)
public static int requestInteger(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, int defaultValue)
public static int requestInteger(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, int defaultValue)
public static long requestLong(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, long defaultValue)
public static long requestLong(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, long defaultValue)
public static java.lang.Object requestObject(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, java.lang.Object[] selectableValues)
public static java.lang.Object requestObject(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, java.lang.Object[] selectableValues)
public static java.lang.Object requestObject(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, java.lang.Object[] selectableValues, java.lang.Object selectedValue)
public static java.lang.Object requestObject(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, java.lang.Object[] selectableValues, java.lang.Object selectedValue)
public static char[] requestPassword(javax.swing.JDialog parent, java.lang.String title, java.lang.String message)
public static char[] requestPassword(javax.swing.JFrame parent, java.lang.String title, java.lang.String message)
public static short requestShort(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, short defaultValue)
public static short requestShort(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, short defaultValue)
public static java.lang.String requestString(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, java.lang.String defaultValue)
public static java.lang.String requestString(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, java.lang.String defaultValue)
public static java.lang.String requestText(javax.swing.JDialog parent, java.lang.String title, java.lang.String message, java.lang.String defaultValue)
public static java.lang.String requestText(javax.swing.JFrame parent, java.lang.String title, java.lang.String message, java.lang.String defaultValue)
public static void showAboutMessage(javax.swing.JDialog parent, java.lang.String message)
public static void showAboutMessage(javax.swing.JFrame parent, java.lang.String message)
public static void showError(javax.swing.JDialog parent, java.lang.String message)
public static void showError(javax.swing.JFrame parent, java.lang.String message)
public static void showError(javax.swing.JDialog parent, java.lang.String title, java.lang.String message)
public static void showError(javax.swing.JFrame parent, java.lang.String title, java.lang.String message)
public static void showException(javax.swing.JDialog parent, java.lang.Throwable throwable)
public static void showException(javax.swing.JFrame parent, java.lang.Throwable throwable)
public static void showMessage(javax.swing.JDialog parent, java.lang.String message)
public static void showMessage(javax.swing.JFrame parent, java.lang.String message)
public static void showMessage(javax.swing.JDialog parent, java.lang.String title, java.lang.String message)
public static void showMessage(javax.swing.JFrame parent, java.lang.String title, java.lang.String message)
public static void showNotYetImplemented(javax.swing.JDialog parent)
public static void showNotYetImplemented(javax.swing.JFrame parent)
public static boolean showQuestion(javax.swing.JDialog parent, java.lang.String question)
parent
- the parent dialogquestion
- the question to answerpublic static boolean showQuestion(javax.swing.JFrame parent, java.lang.String question)
parent
- the parent framequestion
- the question to answerpublic static boolean showQuestion(javax.swing.JDialog parent, java.lang.String title, java.lang.String question)
parent
- the parent dialogtitle
- the title for the dialogquestion
- the question to answerpublic static boolean showQuestion(javax.swing.JFrame parent, java.lang.String title, java.lang.String question)
parent
- the parent frametitle
- the title for the dialogquestion
- the question to answerpublic static boolean showQuestion(javax.swing.JDialog parent, java.lang.String question, java.lang.String yesButton, java.lang.String noButton)
parent
- the parent dialogquestion
- the question to answeryesButton
- the text for the yes-buttonnoButton
- the text for the no-buttonpublic static boolean showQuestion(javax.swing.JFrame parent, java.lang.String question, java.lang.String yesButton, java.lang.String noButton)
parent
- the parent framequestion
- the question to answeryesButton
- the text for the yes-buttonnoButton
- the text for the no-buttonpublic static boolean showQuestion(javax.swing.JDialog parent, java.lang.String title, java.lang.String question, java.lang.String yesButton, java.lang.String noButton)
parent
- the parent dialogtitle
- the title of the dialogquestion
- the question to answeryesButton
- the text for the yes-buttonnoButton
- the text for the no-buttonpublic static boolean showQuestion(javax.swing.JFrame parent, java.lang.String title, java.lang.String question, java.lang.String yesButton, java.lang.String noButton)
parent
- the parent frametitle
- the title of the dialogquestion
- the question to answeryesButton
- the text for the yes-buttonnoButton
- the text for the no-buttonpublic static int showQuestion(javax.swing.JDialog parent, java.lang.String title, java.lang.String question, java.lang.String[] answers, int defaultAnswer)
parent
- the parent dialogtitle
- the title of the dialogquestion
- the question to answeranswers
- the possible answersdefaultAnswer
- the index of the pre-selected answerpublic static int showQuestion(javax.swing.JFrame parent, java.lang.String title, java.lang.String question, java.lang.String[] answers, int defaultAnswer)
parent
- the parent frametitle
- the title of the dialogquestion
- the question to answeranswers
- the possible answersdefaultAnswer
- the index of the pre-selected answerpublic static int showQuestion(javax.swing.JDialog parent, java.lang.String title, java.lang.String question, java.lang.String[] answers, javax.swing.Icon[] buttonIcons, int defaultAnswer)
parent
- the parent dialogtitle
- the title of the dialogquestion
- the question to answeranswers
- the possible answersbuttonIcons
- the icons that will be shown at each buttondefaultAnswer
- the index of the pre-selected answerpublic static int showQuestion(javax.swing.JFrame parent, java.lang.String title, java.lang.String question, java.lang.String[] answers, javax.swing.Icon[] buttonIcons, int defaultAnswer)
parent
- the parent frametitle
- the title of the dialogquestion
- the question to answeranswers
- the possible answersbuttonIcons
- the icons that will be shown at each buttondefaultAnswer
- the index of the pre-selected answer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |