Module com.iamsoft.util.ui
Class DisplayDisablementExplanationAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- com.iamsoft.util.ui.swing.activation.AbstractActivateableAction
-
- com.iamsoft.util.ui.swing.SwingAction
-
- com.iamsoft.util.ui.swing.activation.DisplayDisablementExplanationAction
-
- All Implemented Interfaces:
Activatable
,ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public class DisplayDisablementExplanationAction extends SwingAction
Determines whether to use tooltip(s) to display the reasons that an action is disabled.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
DISPLAY_DISABLEMENT_EXPLANATION_STR
-
Fields inherited from class com.iamsoft.util.ui.swing.SwingAction
ELIPSIS
-
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 DisplayDisablementExplanationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Perform action.-
Methods inherited from class com.iamsoft.util.ui.swing.SwingAction
actionPerformed, addElipsis, decorateAction, getModifiers
-
Methods inherited from class com.iamsoft.util.ui.swing.activation.AbstractActivateableAction
addActivationCriterion, getActivatableFacade, isDisplayingDisablementReasonsByDefault, isDisplayingDisablementReasonsByOverride, putValue, setDisplayingDisablementReasonsByDefault, setEnabled, stripTooltip
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, removePropertyChangeListener
-
-
-
-
Field Detail
-
DISPLAY_DISABLEMENT_EXPLANATION_STR
public static final String DISPLAY_DISABLEMENT_EXPLANATION_STR
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute()
Description copied from class:SwingAction
Perform action.- Specified by:
execute
in classSwingAction
-
-