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
     
    com.badlogic.gdx.scenes.scene2d.ui.Value
     
    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 - the valueX to set
      valueY - the valueY 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 class ScrollPaneSnapAction.Slot
      Parameters:
      actor - the Actor which slot to get
      slot - 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 - the valueX 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 - the valueY to set