|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.rcom.gui.widget.RConfirmDialog
Confirmation Dialog class that displays a confirmation message and returns true or false depending on the selection.
Retek Inc. Copyright (c) 2002
Constructor Summary | |
RConfirmDialog(javax.swing.JDialog dialog,
java.lang.String title,
java.lang.String message)
Constructs and returns a new RConfirmDialog widget. |
|
RConfirmDialog(javax.swing.JDialog dialog,
java.lang.String title,
java.lang.String message,
java.lang.String value)
Constructs and returns a new RConfirmDialog widget. |
|
RConfirmDialog(javax.swing.JFrame frame,
java.lang.String title,
java.lang.String message)
Constructs and returns a new RConfirmDialog widget. |
|
RConfirmDialog(javax.swing.JFrame frame,
java.lang.String title,
java.lang.String message,
java.lang.String value)
Constructs and returns a new RConfirmDialog widget. |
Method Summary | |
static boolean |
getClearConfirmation(javax.swing.JFrame frame)
Creates and displays the clear confirmation OK/CANCEL dialog and returns the selected response. |
boolean |
getConfirmation()
Returns whether or not the user confirmed (hit the "OK" button). |
void |
setOkCancelType()
Assigns the OK/CANCEL type to the dialog. |
void |
setYesNoType()
Assigns the YES/NO type to the dialog. |
static void |
showMessage(javax.swing.JDialog dialog,
java.lang.String title,
java.lang.String message)
Creates and displays a basic message dialog. |
static void |
showMessage(javax.swing.JFrame frame,
java.lang.String title,
java.lang.String message)
Creates and displays a basic message dialog. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RConfirmDialog(javax.swing.JFrame frame, java.lang.String title, java.lang.String message)
frame
- The frame to place the confirm dialog on.title
- The title to place in the dialog window.message
- The message to display to the user.public RConfirmDialog(javax.swing.JDialog dialog, java.lang.String title, java.lang.String message)
dialog
- The dialog to place the confirm dialog on.title
- The title to place in the dialog window.message
- The message to display to the user.public RConfirmDialog(javax.swing.JFrame frame, java.lang.String title, java.lang.String message, java.lang.String value)
frame
- The frame to place the confirm dialog on.title
- The title to place in the dialog window.message
- The message to display to the user.value
- The value to substitute in the message.public RConfirmDialog(javax.swing.JDialog dialog, java.lang.String title, java.lang.String message, java.lang.String value)
dialog
- The dialog to place the confirm dialog on.title
- The title to place in the dialog window.message
- The message to display to the user.value
- The value to substitute in the message.Method Detail |
public void setOkCancelType()
public void setYesNoType()
public boolean getConfirmation()
public static boolean getClearConfirmation(javax.swing.JFrame frame)
frame
- The frame that will own the dialog.
public static void showMessage(javax.swing.JFrame frame, java.lang.String title, java.lang.String message)
frame
- The frame that will own the dialog.title
- The title to display in the dialog.message
- The message to display in the dialog.public static void showMessage(javax.swing.JDialog dialog, java.lang.String title, java.lang.String message)
dialog
- The dialog that will own the dialog.title
- The title to display in the dialog.message
- The message to display in the dialog.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |