| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv final Container | |
| pack-priv boolean | |
| private final TooltipManager | |
| pack-priv Actor | |
| pack-priv static Vector2 | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | enter(InputEvent event, float x, float y, int pointer, Actor fromActor)
Overrides com. Called any time the mouse cursor or a finger touch is moved over an actor. |
| public void | exit(InputEvent event, float x, float y, int pointer, Actor toActor)
Overrides com. Called any time the mouse cursor or a finger touch is moved out of an actor. |
| public T | |
| public Container | |
| public TooltipManager | |
| public void | |
| public boolean | mouseMoved(InputEvent event, float x, float y)
Overrides com. Called any time the mouse is moved when a button is not down. |
| public void | |
| public void | setAlways(boolean always)
If true, this tooltip is shown even when tooltips are not |
| private void | |
| public void | |
| public void | setTouchIndependent(boolean touchIndependent)
If true, this tooltip will be shown even when screen is touched simultaneously with entering tooltip's targetActor |
| public boolean | touchDown(InputEvent event, float x, float y, int pointer, int button)
Overrides com. Called when a mouse button or a finger touch goes down on the actor. |
| always | back to summary |
|---|---|
| pack-priv boolean always | |
| container | back to summary |
|---|---|
| pack-priv final Container<T> container | |
| instant | back to summary |
|---|---|
| pack-priv boolean instant | |
| manager | back to summary |
|---|---|
| private final TooltipManager manager | |
| targetActor | back to summary |
|---|---|
| pack-priv Actor targetActor | |
| tmp | back to summary |
|---|---|
| pack-priv static Vector2 tmp | |
| touchIndependent | back to summary |
|---|---|
| pack-priv boolean touchIndependent | |
| Tooltip | back to summary |
|---|---|
public Tooltip(T contents)
| |
| Tooltip | back to summary |
|---|---|
public Tooltip(T contents, TooltipManager manager)
| |
| enter | back to summary |
|---|---|
| public void enter(InputEvent event, float x, float y, int pointer, Actor fromActor) Overrides com. Doc from com. Called any time the mouse cursor or a finger touch is moved over an actor. On the desktop, this event occurs even when no mouse buttons are pressed (pointer will be -1). | |
| exit | back to summary |
|---|---|
| public void exit(InputEvent event, float x, float y, int pointer, Actor toActor) Overrides com. Doc from com. Called any time the mouse cursor or a finger touch is moved out of an actor. On the desktop, this event occurs even when no mouse buttons are pressed (pointer will be -1). | |
| getActor | back to summary |
|---|---|
public T getActor()
| |
| getContainer | back to summary |
|---|---|
| public Container | |
| getManager | back to summary |
|---|---|
| public TooltipManager getManager() | |
| hide | back to summary |
|---|---|
| public void hide() | |
| mouseMoved | back to summary |
|---|---|
| public boolean mouseMoved(InputEvent event, float x, float y) Overrides com. Doc from com. Called any time the mouse is moved when a button is not down. This event only occurs on the desktop. When true is returned,
the event is | |
| setActor | back to summary |
|---|---|
| public void setActor(T contents) | |
| setAlways | back to summary |
|---|---|
| public void setAlways(boolean always) If true, this tooltip is shown even when tooltips are not | |
| setContainerPosition | back to summary |
|---|---|
| private void setContainerPosition(Actor actor, float x, float y) | |
| setInstant | back to summary |
|---|---|
| public void setInstant(boolean instant) If true, this tooltip is shown without delay when hovered. | |
| setTouchIndependent | back to summary |
|---|---|
| public void setTouchIndependent(boolean touchIndependent) If true, this tooltip will be shown even when screen is touched simultaneously with entering tooltip's targetActor | |
| touchDown | back to summary |
|---|---|
| public boolean touchDown(InputEvent event, float x, float y, int pointer, int button) Overrides com. Doc from com. Called when a mouse button or a finger touch goes down on the actor. If true is returned, this listener will have
| |