| net.gtaun.shoebill.object.DialogId |
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
cancel(Player player)
Closes the Dialog of the Player
| ||||||||||
| abstract static DialogId | create(EventHandler<DialogResponseEvent> onResponse, EventHandler<DialogShowEvent> onShow, EventHandler<DialogCloseEvent> onClose) | ||||||||||
| abstract static DialogId | create(EventHandler<DialogResponseEvent> onResponse) | ||||||||||
| abstract static DialogId |
create()
Create a DialogId.
| ||||||||||
| abstract int |
getId()
Gets the id of the Dialog
| ||||||||||
| abstract void |
show(Player player, DialogStyle style, String caption, String text, String button1, String button2)
Show the Dialog to a Player with Params.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
net.gtaun.shoebill.object.Destroyable
| |||||||||||
Closes the Dialog of the Player
| player | The Player |
|---|
| CreationFailedException |
|---|
| CreationFailedException |
|---|
Create a DialogId. If the Creation fails, it will throw a CreationFailedException.
| CreationFailedException |
|---|
Gets the id of the Dialog
Show the Dialog to a Player with Params.
| player | The Player which will see the Dialog |
|---|---|
| style | The DialogStyle |
| caption | The Caption of the Dialog |
| text | The Text in the Dialog |
| button1 | The Text of Button 1 |
| button2 | The Text of Button 2 |