类 FormWindowDialog
java.lang.Object
cn.nukkit.dialog.window.FormWindowDialog
- 所有已实现的接口:
Dialog
@PowerNukkitXOnly
@Since("1.6.0.0-PNX")
public class FormWindowDialog
extends Object
implements Dialog
-
字段概要
-
构造器概要
构造器说明FormWindowDialog
(String title, String content, Entity bindEntity) FormWindowDialog
(String title, String content, Entity bindEntity, List<ElementDialogButton> buttons) -
方法概要
修饰符和类型方法说明void
addButton
(ElementDialogButton button) void
void
addHandler
(FormDialogHandler handler) long
getTitle()
void
void
setBindEntity
(Entity bindEntity) void
setButtonJSONData
(String json) void
setButtons
(List<ElementDialogButton> buttons) void
setContent
(String content) void
setEntityId
(long entityId) void
setSkinData
(String data) void
void
-
字段详细资料
-
GSON
protected static final com.google.gson.Gson GSON -
handlers
-
-
构造器详细资料
-
FormWindowDialog
-
FormWindowDialog
public FormWindowDialog(String title, String content, Entity bindEntity, List<ElementDialogButton> buttons)
-
-
方法详细资料
-
getTitle
-
setTitle
-
getContent
-
setContent
-
getButtons
-
setButtons
-
addButton
-
addButton
-
getEntityId
public long getEntityId() -
setEntityId
public void setEntityId(long entityId) -
getBindEntity
-
setBindEntity
-
getSkinData
-
setSkinData
-
addHandler
-
getHandlers
-
getButtonJSONData
-
setButtonJSONData
-
getSceneName
-
updateSceneName
public void updateSceneName() -
send
-