Package net.md_5.bungee.api.dialog
Class NoticeDialog
java.lang.Object
net.md_5.bungee.api.dialog.NoticeDialog
- All Implemented Interfaces:
Dialog
Represents a simple dialog with text and one action at the bottom (default:
"OK").
-
Constructor Summary
ConstructorsConstructorDescriptionNoticeDialog(DialogBase base) NoticeDialog(DialogBase base, DialogClickAction action) Creates a newNoticeDialoginstance. -
Method Summary
Modifier and TypeMethodDescriptionaction()The "OK" action button for the dialog.action(DialogClickAction action) The "OK" action button for the dialog.booleangetBase()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.toString()
-
Constructor Details
-
NoticeDialog
-
NoticeDialog
Creates a newNoticeDialoginstance.- Parameters:
base-action- The "OK" action button for the dialog.
-
-
Method Details
-
getBase
Description copied from interface:DialogGets the dialog base which contains the dialog title and other options common to all types of dialogs. -
action
The "OK" action button for the dialog. -
setBase
Description copied from interface:DialogSets the dialog base.
For internal use only as this is mandatory and should be specified in the constructor. -
action
The "OK" action button for the dialog.- Returns:
this.
-
toString
-
equals
-
hashCode
public int hashCode()
-