Package com.prineside.tdi2.utils
Class UiUtils
java.lang.Object
com.prineside.tdi2.utils.UiUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbouncyHideOverlay(Actor overlayTable, Actor mainTable, Group container) static voidbouncyHideOverlayWithCallback(Actor overlayTable, Actor mainTable, Group container, Runnable cb) static voidbouncyShowOverlay(Actor overlayTable, Actor mainTable, Group container) static voidbouncyShowOverlayWithCallback(Actor overlayTable, Actor mainTable, Group container, Runnable cb) static voidbringToFront(Actor actor) Bring actor to the top by moving it to the end in its parent's children list.static voidenableMouseMoveScrollFocus(ScrollPane scrollPane) Make scrollPane focused / unfocused when player moves the cursor over itstatic voidfinishActions(Actor actor, float maxDuration) static StringBuildergetFullPathToStage(Actor actor) static booleanstatic booleanisVisibleRecursive(Actor actor)
-
Constructor Details
-
UiUtils
public UiUtils()
-
-
Method Details
-
finishActions
-
bringToFront
Bring actor to the top by moving it to the end in its parent's children list. Does not remove the actor and preserves keyboard / scroll focus. -
hasParent
-
getFullPathToStage
-
enableMouseMoveScrollFocus
Make scrollPane focused / unfocused when player moves the cursor over it -
isVisibleRecursive
- Returns:
- false if not visible, parents are not visible or not on a stage
-
bouncyShowOverlay
-
bouncyShowOverlayWithCallback
-
bouncyHideOverlay
-
bouncyHideOverlayWithCallback
-