|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.rmm.gui.widget.RmmConfirmDialog
Confirmation Dialog class that displays a confirmation message and returns true or false depending on the selection.
Retek Inc. Copyright (c) 2002
Constructor Summary | |
---|---|
RmmConfirmDialog(javax.swing.JFrame frame,
java.lang.String title)
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). |
int |
getSelection()
Returns which button was selected from the dialog. |
void |
setEntityName(java.lang.String name)
Assigns an entity name to display after the message. |
void |
setMessage(java.lang.String message)
Assigns a message to the confirmation dialog. |
void |
setOkCancelType()
Assigns the ok/cancel type to the dialog. |
void |
setYesNoCancelType()
Assigns the Yes/No/Cancel type to the dialog. |
void |
setYesNoType()
Assigns the yes/no type to the 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 RmmConfirmDialog(javax.swing.JFrame frame, java.lang.String title)
frame
- The frame to place the confirm dialog on.title
- The title to place in the dialog window.Method Detail |
public void setOkCancelType()
public void setYesNoType()
public void setYesNoCancelType()
public void setMessage(java.lang.String message)
public void setEntityName(java.lang.String name)
public boolean getConfirmation()
public int getSelection()
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.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |