Class ScrollPaneSnapAction.AlignSlot

java.lang.Object
net.dermetfan.gdx.scenes.scene2d.ui.ScrollPaneSnapAction.Slot
net.dermetfan.gdx.scenes.scene2d.ui.ScrollPaneSnapAction.AlignSlot
All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.EventListener
Enclosing class:
ScrollPaneSnapAction

public static class ScrollPaneSnapAction.AlignSlot extends ScrollPaneSnapAction.Slot
a Slot determined by an Align
Since:
0.10.0
  • Constructor Details

    • AlignSlot

      public AlignSlot(int align)
      Parameters:
      align - the align 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
    • getAlign

      public int getAlign()
      Returns:
      the align
    • setAlign

      public void setAlign(int align)
      Parameters:
      align - the align to set