java.lang.Object
org.jempeg.empeg.emplode.action.PopupConfirmationListener
- All Implemented Interfaces:
- ConfirmationListenerIfc
- public class PopupConfirmationListener
- extends java.lang.Object
- implements ConfirmationListenerIfc
ConfirmationListener that is implemented with a
Swing Popup.
- Version:
- $Revision: 1.9 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTION_YES
public static final int OPTION_YES
- See Also:
- Constant Field Values
OPTION_NO
public static final int OPTION_NO
- See Also:
- Constant Field Values
OPTION_YES_TO_ALL
public static final int OPTION_YES_TO_ALL
- See Also:
- Constant Field Values
OPTION_NO_TO_ALL
public static final int OPTION_NO_TO_ALL
- See Also:
- Constant Field Values
OPTION_CANCEL
public static final int OPTION_CANCEL
- See Also:
- Constant Field Values
CONFIRM_VALUES
public static final java.lang.String[] CONFIRM_VALUES
myFrame
private javax.swing.JFrame myFrame
myCheckbox
private javax.swing.JCheckBox myCheckbox
myTitle
private java.lang.String myTitle
myMessage
private java.lang.String myMessage
myDefaultValue
private int myDefaultValue
mySelectedValue
private int mySelectedValue
myCheckboxMessage
private java.lang.String myCheckboxMessage
PopupConfirmationListener
public PopupConfirmationListener(javax.swing.JFrame _frame,
java.lang.String _title,
java.lang.String _message)
PopupConfirmationListener
public PopupConfirmationListener(javax.swing.JFrame _frame,
java.lang.String _title,
java.lang.String _message,
int _defaultValue)
setMessage
public void setMessage(java.lang.String _message)
setCheckboxMessage
public void setCheckboxMessage(java.lang.String _checkboxMessage)
confirm
public int confirm(java.lang.Object _target)
- Description copied from interface:
ConfirmationListenerIfc
- Confirm whether or not to perform the particular operation using
the default message.
- Specified by:
confirm in interface ConfirmationListenerIfc
confirm
public int confirm(java.lang.String _message,
java.lang.Object _target)
- Description copied from interface:
ConfirmationListenerIfc
- Confirm whether or not to perform the particular operation.
- Specified by:
confirm in interface ConfirmationListenerIfc
confirm
public int confirm(java.lang.String _message,
java.lang.String _checkboxMessage,
java.lang.Object _target)
- Description copied from interface:
ConfirmationListenerIfc
- Confirm whether or not to perform the particular operation.
- Specified by:
confirm in interface ConfirmationListenerIfc