Class PaperConfirmationDialog
java.lang.Object
io.github.projectunified.unidialog.paper.dialog.PaperDialog<PaperConfirmationDialog>
io.github.projectunified.unidialog.paper.dialog.PaperConfirmationDialog
- All Implemented Interfaces:
io.github.projectunified.unidialog.adventure.dialog.AdventureDialog<org.bukkit.inventory.ItemStack,,PaperDialogBodyBuilder, PaperDialogInputBuilder, PaperConfirmationDialog> io.github.projectunified.unidialog.adventure.support.AdventureSupport,io.github.projectunified.unidialog.core.dialog.ConfirmationDialog<org.bukkit.inventory.ItemStack,,PaperDialogBodyBuilder, PaperDialogInputBuilder, PaperDialog<?>, PaperDialogActionBuilder, PaperConfirmationDialog> io.github.projectunified.unidialog.core.dialog.Dialog<org.bukkit.inventory.ItemStack,PaperDialogBodyBuilder, PaperDialogInputBuilder, PaperConfirmationDialog>
public class PaperConfirmationDialog
extends PaperDialog<PaperConfirmationDialog>
implements io.github.projectunified.unidialog.core.dialog.ConfirmationDialog<org.bukkit.inventory.ItemStack,PaperDialogBodyBuilder,PaperDialogInputBuilder,PaperDialog<?>,PaperDialogActionBuilder,PaperConfirmationDialog>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.projectunified.unidialog.core.dialog.Dialog
io.github.projectunified.unidialog.core.dialog.Dialog.AfterAction -
Constructor Summary
ConstructorsConstructorDescriptionPaperConfirmationDialog(String defaultNamespace, Function<String, net.kyori.adventure.text.Component> componentDeserializer) -
Method Summary
Modifier and TypeMethodDescriptionprotected io.papermc.paper.registry.data.dialog.type.DialogTypebooleanbooleannoAction(Consumer<PaperDialogActionBuilder> action) yesAction(Consumer<PaperDialogActionBuilder> action) Methods inherited from class io.github.projectunified.unidialog.paper.dialog.PaperDialog
afterAction, body, canCloseWithEscape, externalTitle, getAction, getComponentDeserializer, getDialog, getDialogBuilder, input, opener, pause, register, register, register, register, register, register, titleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.projectunified.unidialog.adventure.dialog.AdventureDialog
externalTitle, titleMethods inherited from interface io.github.projectunified.unidialog.adventure.support.AdventureSupport
deserializeMethods inherited from interface io.github.projectunified.unidialog.core.dialog.Dialog
afterAction, body, body, canCloseWithEscape, input, input, opener, pause
-
Constructor Details
-
PaperConfirmationDialog
-
-
Method Details
-
yesAction
- Specified by:
yesActionin interfaceio.github.projectunified.unidialog.core.dialog.ConfirmationDialog<org.bukkit.inventory.ItemStack,PaperDialogBodyBuilder, PaperDialogInputBuilder, PaperDialog<?>, PaperDialogActionBuilder, PaperConfirmationDialog>
-
noAction
- Specified by:
noActionin interfaceio.github.projectunified.unidialog.core.dialog.ConfirmationDialog<org.bukkit.inventory.ItemStack,PaperDialogBodyBuilder, PaperDialogInputBuilder, PaperDialog<?>, PaperDialogActionBuilder, PaperConfirmationDialog>
-
hasYesAction
public boolean hasYesAction()- Specified by:
hasYesActionin interfaceio.github.projectunified.unidialog.core.dialog.ConfirmationDialog<org.bukkit.inventory.ItemStack,PaperDialogBodyBuilder, PaperDialogInputBuilder, PaperDialog<?>, PaperDialogActionBuilder, PaperConfirmationDialog>
-
hasNoAction
public boolean hasNoAction()- Specified by:
hasNoActionin interfaceio.github.projectunified.unidialog.core.dialog.ConfirmationDialog<org.bukkit.inventory.ItemStack,PaperDialogBodyBuilder, PaperDialogInputBuilder, PaperDialog<?>, PaperDialogActionBuilder, PaperConfirmationDialog>
-
getDialogType
protected io.papermc.paper.registry.data.dialog.type.DialogType getDialogType()- Specified by:
getDialogTypein classPaperDialog<PaperConfirmationDialog>
-