Class ScrollPaneSnapAction.ValueSlot
java.lang.Object
net.dermetfan.gdx.scenes.scene2d.ui.ScrollPaneSnapAction.Slot
net.dermetfan.gdx.scenes.scene2d.ui.ScrollPaneSnapAction.ValueSlot
- All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.EventListener
- Enclosing class:
ScrollPaneSnapAction
a Slot determined by
Values- Since:
- 0.10.0
-
Constructor Summary
ConstructorsConstructorDescriptionValueSlot(com.badlogic.gdx.scenes.scene2d.ui.Value valueX, com.badlogic.gdx.scenes.scene2d.ui.Value valueY) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetSlot(com.badlogic.gdx.scenes.scene2d.Actor actor, com.badlogic.gdx.math.Vector2 slot) com.badlogic.gdx.scenes.scene2d.ui.Valuecom.badlogic.gdx.scenes.scene2d.ui.ValuevoidsetValueX(com.badlogic.gdx.scenes.scene2d.ui.Value valueX) voidsetValueY(com.badlogic.gdx.scenes.scene2d.ui.Value valueY) Methods inherited from class net.dermetfan.gdx.scenes.scene2d.ui.ScrollPaneSnapAction.Slot
handle
-
Constructor Details
-
ValueSlot
public ValueSlot(com.badlogic.gdx.scenes.scene2d.ui.Value valueX, com.badlogic.gdx.scenes.scene2d.ui.Value valueY) - Parameters:
valueX- thevalueXto setvalueY- thevalueYto set
-
-
Method Details
-
getSlot
public void getSlot(com.badlogic.gdx.scenes.scene2d.Actor actor, com.badlogic.gdx.math.Vector2 slot) - Specified by:
getSlotin classScrollPaneSnapAction.Slot- Parameters:
actor- the Actor which slot to getslot- the Vector2 to store the slot position in
-
getValueX
public com.badlogic.gdx.scenes.scene2d.ui.Value getValueX()- Returns:
- the
valueX
-
setValueX
public void setValueX(com.badlogic.gdx.scenes.scene2d.ui.Value valueX) - Parameters:
valueX- thevalueXto set
-
getValueY
public com.badlogic.gdx.scenes.scene2d.ui.Value getValueY()- Returns:
- the
valueY
-
setValueY
public void setValueY(com.badlogic.gdx.scenes.scene2d.ui.Value valueY) - Parameters:
valueY- thevalueYto set
-