An implementation of TooltipClient that stores the tooltip string and a method for changing it. More...
Inherits TooltipClient.
Inherited by Button, ComboBox, FilenameComponent, FileSearchPathListComponent, ImageComponent, Label, ListBox, ProgressBar, PropertyComponent, Slider, TextEditor, and TreeView.
Public Member Functions | |
| virtual | ~SettableTooltipClient () |
| Destructor. | |
| virtual void | setTooltip (const String &newTooltip) |
| Assigns a new tooltip to this object. | |
| virtual String | getTooltip () |
| Returns the tooltip assigned to this object. | |
Public Member Functions inherited from TooltipClient | |
| virtual | ~TooltipClient () |
| Destructor. | |
Protected Member Functions | |
| SettableTooltipClient () | |
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 |
Destructor.
|
protected |
|
virtual |
Assigns a new tooltip to this object.
Reimplemented in ComboBox, Button, and FilenameComponent.
|
virtual |
Returns the tooltip assigned to this object.
Implements TooltipClient.