| Modifier and Type | Field and Description |
|---|---|
| public boolean | animations
If false, tooltips will be shown without animations. |
| public float | edgeDistance
The distance from the tooltip actor position to the edge of the screen where the actor will be shown on the other side of the mouse cursor. |
| public boolean | enabled
If false, tooltips will not be shown. |
| private static Files | |
| public float | initialTime
Seconds from when an actor is hovered to when the tooltip is shown. |
| private static TooltipManager | |
| public float | maxWidth
The maximum width of a |
| public float | offsetX
The distance from the mouse position to offset the tooltip actor. |
| public float | offsetY
The distance from the mouse position to offset the tooltip actor. |
| pack-priv final Timer. | |
| public float | resetTime
Seconds to use |
| pack-priv final Array | |
| pack-priv final Timer. | |
| pack-priv Tooltip | |
| public float | subsequentTime
Once a tooltip is shown, this is used instead of |
| pack-priv float |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static TooltipManager | |
| public void | |
| protected void | |
| public void | |
| public void | |
| protected void | |
| public void |
| animations | back to summary |
|---|---|
| public boolean animations If false, tooltips will be shown without animations. Default is true. | |
| edgeDistance | back to summary |
|---|---|
| public float edgeDistance The distance from the tooltip actor position to the edge of the screen where the actor will be shown on the other side of the mouse cursor. Default is 7. | |
| enabled | back to summary |
|---|---|
| public boolean enabled If false, tooltips will not be shown. Default is true. | |
| files | back to summary |
|---|---|
| private static Files files | |
| initialTime | back to summary |
|---|---|
| public float initialTime Seconds from when an actor is hovered to when the tooltip is shown. Default is 2. Call | |
| instance | back to summary |
|---|---|
| private static TooltipManager instance | |
| maxWidth | back to summary |
|---|---|
| public float maxWidth The maximum width of a | |
| offsetX | back to summary |
|---|---|
| public float offsetX The distance from the mouse position to offset the tooltip actor. Default is 15,19. | |
| offsetY | back to summary |
|---|---|
| public float offsetY The distance from the mouse position to offset the tooltip actor. Default is 15,19. | |
| resetTask | back to summary |
|---|---|
| pack-priv final Timer. | |
| resetTime | back to summary |
|---|---|
| public float resetTime Seconds to use | |
| shown | back to summary |
|---|---|
| pack-priv final Array<Tooltip<T extends Actor>> shown | |
| showTask | back to summary |
|---|---|
| pack-priv final Timer. | |
| showTooltip | back to summary |
|---|---|
| pack-priv Tooltip<T extends Actor> showTooltip | |
| subsequentTime | back to summary |
|---|---|
| public float subsequentTime Once a tooltip is shown, this is used instead of | |
| time | back to summary |
|---|---|
| pack-priv float time | |
| TooltipManager | back to summary |
|---|---|
| public TooltipManager() | |
| enter | back to summary |
|---|---|
| public void enter(Tooltip<T extends Actor> tooltip) | |
| getInstance | back to summary |
|---|---|
| public static TooltipManager getInstance() | |
| hide | back to summary |
|---|---|
| public void hide(Tooltip<T extends Actor> tooltip) | |
| hideAction | back to summary |
|---|---|
| protected void hideAction(Tooltip<T extends Actor> tooltip) Called when tooltip is hidden. Default implementation sets actions to animate hiding and to remove the actor from the stage when the actions are complete. A subclass must at least remove the actor. | |
| hideAll | back to summary |
|---|---|
| public void hideAll() | |
| instant | back to summary |
|---|---|
| public void instant() Shows all tooltips on hover without a delay for | |
| showAction | back to summary |
|---|---|
| protected void showAction(Tooltip<T extends Actor> tooltip) Called when tooltip is shown. Default implementation sets actions to animate showing. | |
| touchDown | back to summary |
|---|---|
| public void touchDown(Tooltip<T extends Actor> tooltip) | |