An implementation of TooltipClient that stores the tooltip string and a method for changing it. More...
Inherits TooltipClient.
Inherited by Button, ComboBox, FilenameComponent, FileSearchPathListComponent, Label, ListBox, ProgressBar, PropertyComponent, Slider, TextEditor, and TreeView.
Public Member Functions | |
| virtual | ~SettableTooltipClient () |
| Destructor. | |
| virtual void | setTooltip (const String &newTooltip) |
| virtual const String | getTooltip () |
| Returns the string that this object wants to show as its tooltip. | |
Protected Attributes | |
| String | tooltipString |
An implementation of TooltipClient that stores the tooltip string and a method for changing it.
This makes it easy to add a tooltip to a custom component, by simply adding this as a base class and calling setTooltip().
Many of the Juce widgets already use this as a base class to implement their tooltips.
| virtual SettableTooltipClient::~SettableTooltipClient | ( | ) | [virtual] |
Destructor.
| virtual void SettableTooltipClient::setTooltip | ( | const String & | newTooltip | ) | [virtual] |
Reimplemented in Button, ComboBox, and FilenameComponent.
| virtual const String SettableTooltipClient::getTooltip | ( | ) | [virtual] |
Returns the string that this object wants to show as its tooltip.
Implements TooltipClient.
String SettableTooltipClient::tooltipString [protected] |
1.6.3