$hoverControl
$hoverControl : \FML\Controls\Control
Script Feature for showing Tooltips
$hoverControl : \FML\Controls\Control
$tooltipControl : \FML\Controls\Control
collect() : array<mixed,\FML\Script\Features\ScriptFeature>
Collect the Script Features of the given objects
prepare(\FML\Script\Script $script) : static
Prepare the given Script for rendering by adding the needed Labels, etc.
\FML\Script\Script | $script | Script to prepare |
__construct(\FML\Controls\Control $hoverControl = null, \FML\Controls\Control $tooltipControl = null, boolean $stayOnClick = null, boolean $invert = null, string $text = null)
Construct a new Tooltip
\FML\Controls\Control | $hoverControl | (optional) Hover Control |
\FML\Controls\Control | $tooltipControl | (optional) Tooltip Control |
boolean | $stayOnClick | (optional) If the Tooltip should stay on click |
boolean | $invert | (optional) If the visibility toggling should be inverted |
string | $text | (optional) Text to display if the TooltipControl is a Label |
getHoverControl() : \FML\Controls\Control
Get the Hover Control
setHoverControl(\FML\Controls\Control $hoverControl) : static
Set the Hover Control
\FML\Controls\Control | $hoverControl | Hover Control |
getTooltipControl() : \FML\Controls\Control
Get the Tooltip Control
setTooltipControl(\FML\Controls\Control $tooltipControl) : static
Set the Tooltip Control
\FML\Controls\Control | $tooltipControl | Tooltip Control |