|
|||||||||||
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 | |
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. |
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()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |