bibliothek.gui.dock.security
Interface TooltipStrategyCallback


public interface TooltipStrategyCallback

A callback forwarded to a TooltipStrategy, allows the strategy to configure a GlassedPane.

Author:
Benjamin Sigg

Method Summary
 JToolTip createToolTip()
          Default method for creating a new JToolTip.
 GlassedPane getGlassedPane()
          Gets the owner of this callback.
 String getToolTipText()
          Gets the currently shown tooltip.
 void setToolTipText(String text)
          Sets the tooltip that should currently be shown.
 

Method Detail

getGlassedPane

GlassedPane getGlassedPane()
Gets the owner of this callback.

Returns:
the owner, never null

setToolTipText

void setToolTipText(String text)
Sets the tooltip that should currently be shown.

Parameters:
text - the current tooltip, can be null

getToolTipText

String getToolTipText()
Gets the currently shown tooltip.

Returns:
the current tooltip, can be null

createToolTip

JToolTip createToolTip()
Default method for creating a new JToolTip.

Returns:
some new tooltip, never null