com.alee.managers.language
Class WeblafTooltipLanguageSupport
java.lang.Object
com.alee.managers.language.WeblafTooltipLanguageSupport
- All Implemented Interfaces:
- TooltipLanguageSupport
public class WeblafTooltipLanguageSupport
- extends java.lang.Object
- implements TooltipLanguageSupport
Swing and WebLaF tooltips language support.
- Author:
- Mikle Garin
Field Summary |
protected java.util.Map<java.awt.Component,java.util.List<WebCustomTooltip>> |
tooltipsCache
Components custom WebLaF tooltips cache. |
Method Summary |
protected void |
cacheTip(WebCustomTooltip tooltip)
Caches created custom tooltip. |
void |
setupTooltip(java.awt.Component component,
Value value)
Called when component tooltip update is required. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tooltipsCache
protected final java.util.Map<java.awt.Component,java.util.List<WebCustomTooltip>> tooltipsCache
- Components custom WebLaF tooltips cache.
Used for proper tooltips disposal and update.
WeblafTooltipLanguageSupport
public WeblafTooltipLanguageSupport()
setupTooltip
public void setupTooltip(java.awt.Component component,
Value value)
- Called when component tooltip update is required.
- Specified by:
setupTooltip
in interface TooltipLanguageSupport
- Parameters:
component
- component to update tooltip forvalue
- language value containing possible tooltip information
cacheTip
protected void cacheTip(WebCustomTooltip tooltip)
- Caches created custom tooltip.
- Parameters:
tooltip
- tooltip to cache