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 Summary

    Constructors
    Constructor Description
    AlignSlot​(int align)  
  • Method Summary

    Modifier and Type Method Description
    int getAlign()  
    void getSlot​(com.badlogic.gdx.scenes.scene2d.Actor actor, com.badlogic.gdx.math.Vector2 slot)  
    void setAlign​(int align)  

    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

    • 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