Class BungeeNoticeDialog
java.lang.Object
io.github.projectunified.unidialog.bungeecord.dialog.BungeeDialog<BungeeNoticeDialog>
io.github.projectunified.unidialog.bungeecord.dialog.BungeeNoticeDialog
- All Implemented Interfaces:
Dialog<Object,
,BungeeDialogBodyBuilder, BungeeDialogInputBuilder, BungeeNoticeDialog> NoticeDialog<Object,
BungeeDialogBodyBuilder, BungeeDialogInputBuilder, BungeeDialog<?>, BungeeDialogActionBuilder, BungeeNoticeDialog>
public class BungeeNoticeDialog
extends BungeeDialog<BungeeNoticeDialog>
implements NoticeDialog<Object,BungeeDialogBodyBuilder,BungeeDialogInputBuilder,BungeeDialog<?>,BungeeDialogActionBuilder,BungeeNoticeDialog>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.projectunified.unidialog.core.dialog.Dialog
Dialog.AfterAction
-
Constructor Summary
ConstructorsConstructorDescriptionBungeeNoticeDialog
(String defaultNamespace, Function<net.md_5.bungee.api.dialog.Dialog, BungeeDialogOpener> openerFunction) -
Method Summary
Modifier and TypeMethodDescriptionaction
(Consumer<BungeeDialogActionBuilder> action) Set the action of the notice dialogprotected net.md_5.bungee.api.dialog.Dialog
constructDialog
(net.md_5.bungee.api.dialog.DialogBase dialogBase) Methods inherited from class io.github.projectunified.unidialog.bungeecord.dialog.BungeeDialog
afterAction, body, canCloseWithEscape, externalTitle, externalTitle, getAction, getDialog, input, opener, pause, title, title
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.projectunified.unidialog.core.dialog.Dialog
afterAction, body, body, canCloseWithEscape, externalTitle, input, input, opener, pause, title
-
Constructor Details
-
BungeeNoticeDialog
public BungeeNoticeDialog(String defaultNamespace, Function<net.md_5.bungee.api.dialog.Dialog, BungeeDialogOpener> openerFunction)
-
-
Method Details
-
action
Description copied from interface:NoticeDialog
Set the action of the notice dialog- Specified by:
action
in interfaceNoticeDialog<Object,
BungeeDialogBodyBuilder, BungeeDialogInputBuilder, BungeeDialog<?>, BungeeDialogActionBuilder, BungeeNoticeDialog> - Parameters:
action
- the action to be performed- Returns:
- the notice dialog itself for method chaining
-
constructDialog
protected net.md_5.bungee.api.dialog.Dialog constructDialog(net.md_5.bungee.api.dialog.DialogBase dialogBase) - Specified by:
constructDialog
in classBungeeDialog<BungeeNoticeDialog>
-