Components that want to use pop-up tooltips should implement this interface. More...
Inherited by SettableTooltipClient.
Public Member Functions | |
| virtual | ~TooltipClient () |
| Destructor. | |
| virtual const String | getTooltip ()=0 |
| Returns the string that this object wants to show as its tooltip. | |
Components that want to use pop-up tooltips should implement this interface.
A TooltipWindow will wait for the mouse to hover over a component that implements the TooltipClient interface, and when it finds one, it will display the tooltip returned by its getTooltip() method.
| virtual TooltipClient::~TooltipClient | ( | ) | [virtual] |
Destructor.
| virtual const String TooltipClient::getTooltip | ( | ) | [pure virtual] |
Returns the string that this object wants to show as its tooltip.
Implemented in Button, ComboBox, and SettableTooltipClient.