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
public static class ScrollPaneSnapAction.ValueSlot extends ScrollPaneSnapAction.Slot
a Slot determined by
Values
- Since:
- 0.10.0
-
Constructor Summary
Constructors Constructor Description ValueSlot(com.badlogic.gdx.scenes.scene2d.ui.Value valueX, com.badlogic.gdx.scenes.scene2d.ui.Value valueY)
-
Method Summary
Modifier and Type Method Description void
getSlot(com.badlogic.gdx.scenes.scene2d.Actor actor, com.badlogic.gdx.math.Vector2 slot)
com.badlogic.gdx.scenes.scene2d.ui.Value
getValueX()
com.badlogic.gdx.scenes.scene2d.ui.Value
getValueY()
void
setValueX(com.badlogic.gdx.scenes.scene2d.ui.Value valueX)
void
setValueY(com.badlogic.gdx.scenes.scene2d.ui.Value valueY)
Methods inherited from class net.dermetfan.gdx.scenes.scene2d.ui.ScrollPaneSnapAction.Slot
handle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ValueSlot
public ValueSlot(com.badlogic.gdx.scenes.scene2d.ui.Value valueX, com.badlogic.gdx.scenes.scene2d.ui.Value valueY)- Parameters:
valueX
- thevalueX
to setvalueY
- thevalueY
to set
-
-
Method Details
-
getSlot
public void getSlot(com.badlogic.gdx.scenes.scene2d.Actor actor, com.badlogic.gdx.math.Vector2 slot)- Specified by:
getSlot
in 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
- thevalueX
to 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
- thevalueY
to set
-