Package ca.corbett.extensions.ui
Class InstalledExtensionsPanel.ExtensionEnabledToggleAction
java.lang.Object
javax.swing.AbstractAction
ca.corbett.extensions.ui.InstalledExtensionsPanel.ExtensionEnabledToggleAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Enclosing class:
InstalledExtensionsPanel<T extends AppExtension>
An action that can respond to an extension being enabled or disabled. We present
a checkbox for this in the ExtensionTitleBar, and this action can be invoked
when the checkbox is toggled. We update the extension status and change
the label for it in the extension list on the left.
- Author:
- scorbo2
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
ExtensionEnabledToggleAction
public ExtensionEnabledToggleAction(InstalledExtensionsPanel.AppExtensionPlaceholder<?> placeholder)
-
-
Method Details
-
actionPerformed
-