com.alee.managers.language.updaters
Class WebLanguageUpdater<E extends java.awt.Component>
java.lang.Object
com.alee.managers.language.updaters.DefaultLanguageUpdater<E>
com.alee.managers.language.updaters.WebLanguageUpdater<E>
- All Implemented Interfaces:
- LanguageUpdater<E>
- Direct Known Subclasses:
- WebAbstractButtonLU
public abstract class WebLanguageUpdater<E extends java.awt.Component>
- extends DefaultLanguageUpdater<E>
This class prvides an additional set of methods to simplify language updaters usage.
Most of default predefined WebLaF language updaters extend this class.
- Author:
- Mikle Garin
Method Summary |
protected static void |
cacheHotkey(java.awt.Component component,
HotkeyInfo hotkeyInfo)
Caches component's hotkey |
protected static HotkeyInfo |
getCachedHotkey(java.awt.Component component)
Returns cached hotkey data. |
protected static boolean |
isHotkeyCached(java.awt.Component component)
Returns wether hotkey is cached or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebLanguageUpdater
public WebLanguageUpdater()
cacheHotkey
protected static void cacheHotkey(java.awt.Component component,
HotkeyInfo hotkeyInfo)
- Caches component's hotkey
- Parameters:
component
- componenthotkeyInfo
- hotkey data
isHotkeyCached
protected static boolean isHotkeyCached(java.awt.Component component)
- Returns wether hotkey is cached or not.
- Parameters:
component
- hotkey's component
- Returns:
- true if hotkey is cached, false otherwise
getCachedHotkey
protected static HotkeyInfo getCachedHotkey(java.awt.Component component)
- Returns cached hotkey data.
- Parameters:
component
- hotkey's component
- Returns:
- cached hotkey data