Package util.swing.dialog
Class JOptionPaneAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- util.swing.dialog.JOptionPaneAction
-
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
public class JOptionPaneAction extends AbstractAction
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Constructor Summary
Constructors Constructor Description JOptionPaneAction(String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent e)static ActioncreateCancelAction()static ActioncreateOkAction()static Action[]createOkCancelActions()-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
JOptionPaneAction
public JOptionPaneAction(String name)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
-
createOkAction
public static Action createOkAction()
-
createCancelAction
public static Action createCancelAction()
-
createOkCancelActions
public static Action[] createOkCancelActions()
-
-