Class Dialog

All Implemented Interfaces:
Disposable, UiManager.UiComponent

public final class Dialog extends UiManager.UiComponent.Adapter
  • Field Details

    • ignoreEscForFrame

      public boolean ignoreEscForFrame
  • Constructor Details

    • Dialog

      public Dialog()
  • Method Details

    • i

      public static Dialog i()
    • setItemsHintForVisibleDialog

      public void setItemsHintForVisibleDialog(Array<ItemStack> itemStacks)
      Show items near the dialog
    • isVisible

      public boolean isVisible()
    • getLastConfirmId

      public String getLastConfirmId()
    • postRender

      public void postRender(float deltaTime)
      Specified by:
      postRender in interface UiManager.UiComponent
      Overrides:
      postRender in class UiManager.UiComponent.Adapter
    • getHintTable

      public Table getHintTable()
      Will be cleared on hide()
    • hide

      public void hide()
    • showConfirm

      public void showConfirm(CharSequence message, Runnable confirmHandler)
    • showConfirmWithId

      public void showConfirmWithId(CharSequence message, Runnable confirmHandler, String confirmId)
    • showConfirmWithCallbacks

      public void showConfirmWithCallbacks(CharSequence message, Runnable confirmHandler, Runnable cancelHandler)
    • showConfirmWithCallbacksAndId

      public void showConfirmWithCallbacksAndId(CharSequence message, Runnable confirmHandler, Runnable cancelHandler, String confirmId)
    • showAlert

      public void showAlert(CharSequence message)
    • showAlertWithConfirmCallback

      public void showAlertWithConfirmCallback(CharSequence message, Runnable confirmHandler)
    • makeConfirmButtonDisabled

      public void makeConfirmButtonDisabled(int seconds)