List of all members
TooltipPanel Class Reference

Type-ID: TooltipPanel More...

Inheritance diagram for TooltipPanel:
FloatingTileContent ObjectWithDefaultProperties

Additional Inherited Members

- Public Types inherited from FloatingTileContent
enum  PanelPropertyId {
  Type = 0, Title , ColourData, LayoutData,
  Font, FontSize
}
 
- Public Member Functions inherited from FloatingTileContent
String getBestTitle () const
 This returns the title that is supposed to be displayed. More...
 
String getCustomTitle () const
 If you set a custom title, this will return it. More...
 
FloatingTile * getParentShell ()
 Returns the parent shell. More...
 
void setCustomTitle (String newCustomTitle)
 Set a custom title to the panel that will be displayed in tabs, etc. More...
 
void setDynamicTitle (const String &newDynamicTitle)
 Sets a title that is supposed to change during runtime. More...
 
virtual void siblingAmountChanged ()
 Override this method when you want to be notified when the amount of siblings change. More...
 
- Public Member Functions inherited from ObjectWithDefaultProperties
void resetObject (DynamicObject *objectToClear)
 Clears the given object and sets all defaultable properties to their initial values. More...
 
- Protected Member Functions inherited from FloatingTileContent
 FloatingTileContent (FloatingTile *parent_)
 Creates a new floating panel. More...
 
virtual int getFixedWidth () const
 Overwrite this method if the component has a fixed width. More...
 

Detailed Description

Type-ID: TooltipPanel

Shows a descriptive text whenever the mouse hovers over a Component with a tooltip.

Use Control.set("tooltip", "This is the tooltip text") for each control that you want a tooltip for. Then add this panel and it will automatically show and hide the tooltip.

TooltipPanel Screenshot

Used base properties:

Example JSON

const var data = {
"Type": "TooltipPanel",
"Font": "Arial Italic",
"FontSize": 20,
"ColourData": {
"bgColour": "0x22FF0000",
"textColour": "0xFFFFFFFF",
"itemColour1": "0xFF00FF00"
}
};

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.