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, 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Sets localized language The implementation should use aResourceBundle
to load information based on the user'sLocale
, and may observe theLanguageHelper
to update the GUI on Locale switch.Methods inherited from class be.gaudry.swing.action.AutoLocalizedAction
doAfterCreate, init, propertyChange
Methods inherited from class be.gaudry.swing.action.LocalizableAction
doOnCreate
Methods 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:ILocalized
Sets localized language The implementation should use aResourceBundle
to load information based on the user'sLocale
, and may observe theLanguageHelper
to update the GUI on Locale switch.
-