Package com.formdev.flatlaf.ui
Class FlatUIAction
java.lang.Object
com.formdev.flatlaf.ui.FlatUIAction
- All Implemented Interfaces:
ActionListener
,EventListener
,Action
- Direct Known Subclasses:
FlatMenuBarUI.TakeFocusAction
,FlatTabbedPaneUI.RunWithOriginalLayoutManagerDelegateAction
,FlatTableUI.StartEditingAction
Base class for UI actions used in ActionMap.
(similar to class sun.swing.UIAction)
- Since:
- 3.4
-
Field Summary
FieldsFields 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
ConstructorsModifierConstructorDescriptionprotected
FlatUIAction
(String name) protected
FlatUIAction
(Action delegate) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Field Details
-
name
-
delegate
-
-
Constructor Details
-
FlatUIAction
-
FlatUIAction
-
-
Method Details
-
getValue
-
isEnabled
public boolean isEnabled() -
putValue
-
setEnabled
public void setEnabled(boolean b) - Specified by:
setEnabled
in interfaceAction
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListener
in interfaceAction
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListener
in interfaceAction
-