Package com.formdev.flatlaf.ui
Class FlatUIAction
- java.lang.Object
-
- com.formdev.flatlaf.ui.FlatUIAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.util.EventListener,javax.swing.Action
- Direct Known Subclasses:
FlatMenuBarUI.TakeFocusAction,FlatTabbedPaneUI.RunWithOriginalLayoutManagerDelegateAction,FlatTableUI.StartEditingAction
public abstract class FlatUIAction extends java.lang.Object implements javax.swing.ActionBase class for UI actions used in ActionMap. (similar to class sun.swing.UIAction)- Since:
- 3.4
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFlatUIAction(java.lang.String name)protectedFlatUIAction(javax.swing.Action delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPropertyChangeListener(java.beans.PropertyChangeListener listener)java.lang.ObjectgetValue(java.lang.String key)booleanisEnabled()voidputValue(java.lang.String key, java.lang.Object value)voidremovePropertyChangeListener(java.beans.PropertyChangeListener listener)voidsetEnabled(boolean b)
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue(java.lang.String key)
- Specified by:
getValuein interfacejavax.swing.Action
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfacejavax.swing.Action
-
putValue
public void putValue(java.lang.String key, java.lang.Object value)- Specified by:
putValuein interfacejavax.swing.Action
-
setEnabled
public void setEnabled(boolean b)
- Specified by:
setEnabledin interfacejavax.swing.Action
-
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
addPropertyChangeListenerin interfacejavax.swing.Action
-
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
removePropertyChangeListenerin interfacejavax.swing.Action
-
-