Package se.datadosen.util
Class LambdaAction<T extends LambdaAction>
java.lang.Object
javax.swing.AbstractAction
se.datadosen.component.SmartAction
se.datadosen.util.LambdaAction<T>
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- See Also:
-
Property Summary
Properties inherited from class se.datadosen.component.SmartAction
enabled
-
Field Summary
Fields inherited from class se.datadosen.component.SmartAction
BLOCKED_KEY
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
ConstructorDescriptionLambdaAction
(ActionListener listener) LambdaAction
(Runnable runnable) LambdaAction
(String name, ActionListener listener) LambdaAction
(String name, Runnable runnable) -
Method Summary
Methods inherited from class se.datadosen.component.SmartAction
accelerator, enabledProperty, isBlocked, setBlocked, setEnabled, toolTip
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener
-
Constructor Details
-
LambdaAction
-
LambdaAction
-
LambdaAction
- Parameters:
name
-listener
-- Since:
- 17.2
-
LambdaAction
- Parameters:
name
-runnable
-- Since:
- 17.2
-
-
Method Details
-
track
-
actionPerformed
-