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.PresetPositionNested 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.Reactionhandle(com.badlogic.gdx.scenes.scene2d.Event event, Popup popup)booleanisFollowPointer()voidsetFollowPointer(boolean followPointer)Methods inherited from class net.dermetfan.gdx.scenes.scene2d.ui.Popup.PositionBehavior
getPosition, setPosition, showMethods inherited from class net.dermetfan.gdx.scenes.scene2d.ui.Popup.Behavior.Adapter
hideMethods 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:
handlein interfacePopup.Behavior- Overrides:
handlein 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- thefollowPointerto set
-