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(@NonNull DialogBase base, ActionButton action) Creates a newNoticeDialoginstance.NoticeDialog(DialogBase base) -
Method Summary
Modifier and TypeMethodDescriptionaction()The "OK" action button for the dialog.action(ActionButton action) The "OK" action button for the dialog.boolean@NonNull DialogBasegetBase()Gets the dialog base which contains the dialog title and other options common to all types of dialogs.inthashCode()voidsetBase(@NonNull 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()
-