com.alee.managers.language.updaters
Class WebLanguageUpdater<E extends java.awt.Component>

java.lang.Object
  extended by com.alee.managers.language.updaters.DefaultLanguageUpdater<E>
      extended by 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

Field Summary
 
Fields inherited from class com.alee.managers.language.updaters.DefaultLanguageUpdater
DROP_TEXT, INPUT_PROMPT
 
Constructor Summary
WebLanguageUpdater()
           
 
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 com.alee.managers.language.updaters.DefaultLanguageUpdater
getComponentClass, getDefaultText, getDefaultText, getDefaultText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.alee.managers.language.updaters.LanguageUpdater
update
 

Constructor Detail

WebLanguageUpdater

public WebLanguageUpdater()
Method Detail

cacheHotkey

protected static void cacheHotkey(java.awt.Component component,
                                  HotkeyInfo hotkeyInfo)
Caches component's hotkey

Parameters:
component - component
hotkeyInfo - 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