Package com.prineside.tdi2.utils
Class UiUtils
java.lang.Object
com.prineside.tdi2.utils.UiUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
bouncyHideOverlay
(Actor overlayTable, Actor mainTable, Group container) static void
bouncyHideOverlayWithCallback
(Actor overlayTable, Actor mainTable, Group container, Runnable cb) static void
bouncyShowOverlay
(Actor overlayTable, Actor mainTable, Group container) static void
bouncyShowOverlayWithCallback
(Actor overlayTable, Actor mainTable, Group container, Runnable cb) static void
bringToFront
(Actor actor) Bring actor to the top by moving it to the end in its parent's children list.static void
enableMouseMoveScrollFocus
(ScrollPane scrollPane) Make scrollPane focused / unfocused when player moves the cursor over itstatic void
finishActions
(Actor actor, float maxDuration) static StringBuilder
getFullPathToStage
(Actor actor) static boolean
static boolean
isVisibleRecursive
(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
-