Class FormWindowDialog

java.lang.Object
cn.nukkit.dialog.window.FormWindowDialog
All Implemented Interfaces:
Dialog

@PowerNukkitXOnly @Since("1.6.0.0-PNX") public class FormWindowDialog extends Object implements Dialog
  • Field Details

    • GSON

      protected static final com.google.gson.Gson GSON
    • handlers

      protected final transient List<FormDialogHandler> handlers
  • Constructor Details

  • Method Details

    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getContent

      public String getContent()
    • setContent

      public void setContent(String content)
    • getButtons

      public List<ElementDialogButton> getButtons()
    • setButtons

      public void setButtons(List<ElementDialogButton> buttons)
    • addButton

      public void addButton(String text)
    • addButton

      public void addButton(ElementDialogButton button)
    • getEntityId

      public long getEntityId()
    • getBindEntity

      public Entity getBindEntity()
    • setBindEntity

      public void setBindEntity(Entity bindEntity)
    • getSkinData

      public String getSkinData()
    • setSkinData

      public void setSkinData(String data)
    • addHandler

      public void addHandler(FormDialogHandler handler)
    • getHandlers

      public List<FormDialogHandler> getHandlers()
    • getButtonJSONData

      public String getButtonJSONData()
    • setButtonJSONData

      public void setButtonJSONData(String json)
    • getSceneName

      public String getSceneName()
    • setSceneName

      protected void setSceneName(String sceneName)
    • updateSceneName

      public void updateSceneName()
    • send

      public void send(Player player)
      Specified by:
      send in interface Dialog