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
Methods inherited from class net.dermetfan.gdx.scenes.scene2d.ui.ScrollPaneSnapAction.Slot
handleMethods 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- thealignto 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
-
getAlign
public int getAlign()- Returns:
- the
align
-
setAlign
public void setAlign(int align)- Parameters:
align- thealignto set
-