java.lang.Object
javax.swing.AbstractAction
org.autogui.swing.GuiSwingHistoryMenu.HistorySetAction<ValueType>
- Type Parameters:
ValueType
- the value type of the target component
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,PopupCategorized.CategorizedMenuItem
,PopupCategorized.CategorizedMenuItemAction
,PopupCategorized.CategorizedMenuItemComponent
- Enclosing class:
GuiSwingHistoryMenu<ValueType,
PaneType extends GuiSwingView.ValuePane<ValueType>>
public static class GuiSwingHistoryMenu.HistorySetAction<ValueType>
extends AbstractAction
implements PopupCategorized.CategorizedMenuItemAction
the action for setting a specified value to a component
- See Also:
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionHistorySetAction
(String name, ValueType value, GuiSwingView.ValuePane<ValueType> component) -
Method Summary
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, putValue, removePropertyChangeListener, setEnabled
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItem
getKeyStroke, getSubCategory
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemAction
getMenuItem, getMenuItemWithAction, remap
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemComponent
getCategory, getIcon, getName
-
Field Details
-
value
-
component
-
-
Constructor Details
-
HistorySetAction
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceAction
- Overrides:
isEnabled
in classAbstractAction
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-