Class Popup.TooltipBehavior.TooltipPositionBehavior
java.lang.Object
net.dermetfan.gdx.scenes.scene2d.ui.Popup.Behavior.Adapter
net.dermetfan.gdx.scenes.scene2d.ui.Popup.PositionBehavior
net.dermetfan.gdx.scenes.scene2d.ui.Popup.TooltipBehavior.TooltipPositionBehavior
- All Implemented Interfaces:
Popup.Behavior
- Enclosing class:
- Popup.TooltipBehavior
public static class Popup.TooltipBehavior.TooltipPositionBehavior extends Popup.PositionBehavior
provides
followPointer
-
Nested Class Summary
Nested classes/interfaces inherited from class net.dermetfan.gdx.scenes.scene2d.ui.Popup.PositionBehavior
Popup.PositionBehavior.AlignedOffsetPosition, Popup.PositionBehavior.AlignPosition, Popup.PositionBehavior.EventPosition, Popup.PositionBehavior.OffsetPosition, Popup.PositionBehavior.PointerPosition, Popup.PositionBehavior.Position, Popup.PositionBehavior.PositionMultiplexer, Popup.PositionBehavior.PresetPosition
Nested classes/interfaces inherited from interface net.dermetfan.gdx.scenes.scene2d.ui.Popup.Behavior
Popup.Behavior.Adapter
-
Constructor Summary
Constructors Constructor Description TooltipPositionBehavior(Popup.PositionBehavior.Position position)
TooltipPositionBehavior(Popup.PositionBehavior.Position position, boolean followPointer)
-
Method Summary
Modifier and Type Method Description Popup.Reaction
handle(com.badlogic.gdx.scenes.scene2d.Event event, Popup popup)
boolean
isFollowPointer()
void
setFollowPointer(boolean followPointer)
Methods inherited from class net.dermetfan.gdx.scenes.scene2d.ui.Popup.PositionBehavior
getPosition, setPosition, show
Methods inherited from class net.dermetfan.gdx.scenes.scene2d.ui.Popup.Behavior.Adapter
hide
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TooltipPositionBehavior
-
TooltipPositionBehavior
- Parameters:
followPointer
- thefollowPointer
-
-
Method Details
-
handle
- Specified by:
handle
in interfacePopup.Behavior
- Overrides:
handle
in classPopup.Behavior.Adapter
- Parameters:
event
- the Event to handlepopup
- the Popup this Behavior is attached to- Returns:
null
-
isFollowPointer
public boolean isFollowPointer()- Returns:
- the
followPointer
-
setFollowPointer
public void setFollowPointer(boolean followPointer)- Parameters:
followPointer
- thefollowPointer
to set
-