public abstract class I18nAction extends AbstractAction implements I18nable
I18n.| Modifier and Type | Field and Description |
|---|---|
protected I18n |
i18n
The i18n handler.
|
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
I18nAction(I18n i18n,
I18n.RemovalReference removalReference,
String i18nName)
Creates a new action that uses the given name as base name to get values
from
I18n. |
I18nAction(I18n i18n,
I18n.RemovalReference removalReference,
String i18nName,
boolean enabled)
Creates a new action that uses the given name as base name to get values
from
I18n. |
I18nAction(I18n i18n,
I18n.RemovalReference removalReference,
String i18nName,
boolean enabled,
Icon icon)
Creates a new action that uses the given name as base name to get values
from
I18n and the given icon. |
I18nAction(I18n i18n,
I18n.RemovalReference removalReference,
String i18nName,
Icon icon)
Creates a new action that uses the given name as base name to get values
from
I18n and the given icon. |
I18nAction(I18n i18n,
String i18nName)
Creates a new action that uses the given name as base name to get values
from
I18n. |
I18nAction(I18n i18n,
String i18nName,
boolean enabled)
Creates a new action that uses the given name as base name to get values
from
I18n. |
I18nAction(I18n i18n,
String i18nName,
boolean enabled,
Icon icon)
Creates a new action that uses the given name as base name to get values
from
I18n and the given icon. |
I18nAction(I18n i18n,
String i18nName,
Icon icon)
Creates a new action that uses the given name as base name to get values
from
I18n and the given icon. |
| Modifier and Type | Method and Description |
|---|---|
void |
updateI18n()
Notifies the object that the language in
I18n was changed. |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactionPerformedprotected final I18n i18n
public I18nAction(I18n i18n, String i18nName)
I18n.i18n - The i18n handleri18nName - The base name of the actionpublic I18nAction(I18n i18n, I18n.RemovalReference removalReference, String i18nName)
I18n.i18n - The i18n handlerremovalReference - Removal reference (optional)i18nName - The base name of the actionpublic I18nAction(I18n i18n, String i18nName, Icon icon)
I18n and the given icon.i18n - The i18n handleri18nName - The base name of the actionicon - The icon for the actionpublic I18nAction(I18n i18n, I18n.RemovalReference removalReference, String i18nName, Icon icon)
I18n and the given icon.i18n - The i18n handlerremovalReference - Removal reference (optional)i18nName - The base name of the actionicon - The icon for the actionpublic I18nAction(I18n i18n, String i18nName, boolean enabled)
I18n.i18n - The i18n handleri18nName - The base name of the actionenabled - Whether the action should be enabledpublic I18nAction(I18n i18n, I18n.RemovalReference removalReference, String i18nName, boolean enabled)
I18n.i18n - The i18n handlerremovalReference - Removal reference (optional)i18nName - The base name of the actionenabled - Whether the action should be enabledpublic I18nAction(I18n i18n, String i18nName, boolean enabled, Icon icon)
I18n and the given icon.i18n - The i18n handleri18nName - The base name of the actionenabled - Whether the action should be enabledicon - The icon for the actionpublic I18nAction(I18n i18n, I18n.RemovalReference removalReference, String i18nName, boolean enabled, Icon icon)
I18n and the given icon.i18n - The i18n handlerremovalReference - Removal reference (optional)i18nName - The base name of the actionenabled - Whether the action should be enabledicon - The icon for the actionpublic void updateI18n()
I18n was changed.updateI18n in interface I18nableCopyright © 2026. All rights reserved.