Package com.formdev.flatlaf.ui
Class FlatUIAction
- java.lang.Object
-
- com.formdev.flatlaf.ui.FlatUIAction
-
- All Implemented Interfaces:
ActionListener,EventListener,Action
public abstract class FlatUIAction extends Object implements Action
Base class for UI actions used in ActionMap. (similar to class sun.swing.UIAction)- Since:
- 3.4
-
-
Field Summary
Fields Modifier and Type Field Description protected Actiondelegateprotected Stringname-
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 Modifier Constructor Description protectedFlatUIAction(String name)protectedFlatUIAction(Action delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPropertyChangeListener(PropertyChangeListener listener)ObjectgetValue(String key)booleanisEnabled()voidputValue(String key, Object value)voidremovePropertyChangeListener(PropertyChangeListener listener)voidsetEnabled(boolean b)-
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
-
-
-
-
Method Detail
-
setEnabled
public void setEnabled(boolean b)
- Specified by:
setEnabledin interfaceAction
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListenerin interfaceAction
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListenerin interfaceAction
-
-