Package com.prineside.tdi2.ui.shared
Class Dialog
java.lang.Object
com.prineside.tdi2.ui.shared.Dialog
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.scenes.scene2d.ui.Table
Will be cleared on hide()void
hide()
boolean
void
makeConfirmButtonDisabled
(int seconds) void
postRender
(float deltaTime) void
setItemsHintForVisibleDialog
(com.badlogic.gdx.utils.Array<ItemStack> itemStacks) Show items near the dialogvoid
showAlert
(CharSequence message) void
showAlert
(CharSequence message, Runnable confirmHandler) void
showConfirm
(CharSequence message, Runnable confirmHandler) void
showConfirm
(CharSequence message, Runnable confirmHandler, Runnable cancelHandler) void
showConfirm
(CharSequence message, Runnable confirmHandler, Runnable cancelHandler, String confirmId) void
showConfirm
(CharSequence message, Runnable confirmHandler, String confirmId)
-
Field Details
-
ignoreEscForFrame
public boolean ignoreEscForFrame
-
-
Constructor Details
-
Dialog
public Dialog()
-
-
Method Details
-
setItemsHintForVisibleDialog
Show items near the dialog -
isVisible
public boolean isVisible() -
getLastConfirmId
-
postRender
public void postRender(float deltaTime) -
getHintTable
public com.badlogic.gdx.scenes.scene2d.ui.Table getHintTable()Will be cleared on hide() -
hide
public void hide() -
showConfirm
-
showConfirm
-
showConfirm
-
showConfirm
public void showConfirm(CharSequence message, Runnable confirmHandler, Runnable cancelHandler, String confirmId) -
showAlert
-
showAlert
-
makeConfirmButtonDisabled
public void makeConfirmButtonDisabled(int seconds)
-