Package net.md_5.bungee.api.dialog
Class NoticeDialog
- java.lang.Object
-
- net.md_5.bungee.api.dialog.NoticeDialog
-
-
Constructor Summary
Constructors Constructor Description NoticeDialog(DialogBase base)NoticeDialog(DialogBase base, DialogClickAction action)Creates a newNoticeDialoginstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogClickActionaction()The "OK" action button for the dialog.NoticeDialogaction(DialogClickAction action)The "OK" action button for the dialog.booleanequals(Object o)DialogBasegetBase()Gets the dialog base which contains the dialog title and other options common to all types of dialogs.inthashCode()voidsetBase(DialogBase base)Sets the dialog base.StringtoString()
-
-
-
Constructor Detail
-
NoticeDialog
public NoticeDialog(DialogBase base)
-
NoticeDialog
public NoticeDialog(DialogBase base, DialogClickAction action)
Creates a newNoticeDialoginstance.- Parameters:
base-action- The "OK" action button for the dialog.
-
-
Method Detail
-
getBase
public DialogBase getBase()
Description copied from interface:DialogGets the dialog base which contains the dialog title and other options common to all types of dialogs.
-
action
public DialogClickAction action()
The "OK" action button for the dialog.
-
setBase
public void setBase(DialogBase base)
Description copied from interface:DialogSets the dialog base.
For internal use only as this is mandatory and should be specified in the constructor.
-
action
public NoticeDialog action(DialogClickAction action)
The "OK" action button for the dialog.- Returns:
this.
-
-