Class Popup.PositionBehavior.EventPosition
java.lang.Object
net.dermetfan.gdx.scenes.scene2d.ui.Popup.PositionBehavior.EventPosition
- All Implemented Interfaces:
Popup.PositionBehavior.Position
- Enclosing class:
Popup.PositionBehavior
public static class Popup.PositionBehavior.EventPosition
extends Object
implements Popup.PositionBehavior.Position
The position of the event if it is an
InputEvent. The position is composed of InputEvent.getStageX() and InputEvent.getStageY().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(com.badlogic.gdx.scenes.scene2d.Event event, com.badlogic.gdx.scenes.scene2d.Actor popup)
-
Constructor Details
-
EventPosition
public EventPosition()
-
-
Method Details
-
apply
public void apply(com.badlogic.gdx.scenes.scene2d.Event event, com.badlogic.gdx.scenes.scene2d.Actor popup) - Specified by:
applyin interfacePopup.PositionBehavior.Position- Parameters:
event- the eventpopup- the popup which position to set
-