Package be.gaudry.swing.laf
Class LookAndFeelHelper.ToggleListenDarkmodeAction
java.lang.Object
javax.swing.AbstractAction
be.gaudry.swing.action.LocalizableAction
be.gaudry.swing.action.AutoLocalizedAction
be.gaudry.swing.laf.LookAndFeelHelper.ToggleListenDarkmodeAction
- All Implemented Interfaces:
ILocalized,ActionListener,PropertyChangeListener,Serializable,Cloneable,EventListener,Action
- Enclosing class:
- LookAndFeelHelper
- See Also:
- Serialized Form
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidSets localized language The implementation should use aResourceBundleto load information based on the user'sLocale, and may observe theLanguageHelperto update the GUI on Locale switch.Methods inherited from class be.gaudry.swing.action.AutoLocalizedAction
doAfterCreate, init, propertyChangeMethods inherited from class be.gaudry.swing.action.LocalizableAction
doOnCreateMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
ToggleListenDarkmodeAction
public ToggleListenDarkmodeAction()
-
-
Method Details
-
actionPerformed
-
setLanguage
public void setLanguage()Description copied from interface:ILocalizedSets localized language The implementation should use aResourceBundleto load information based on the user'sLocale, and may observe theLanguageHelperto update the GUI on Locale switch.
-