Index

A B C D E H I L M N O P R S T U V W Y 
All Classes and Interfaces|All Packages|Constant Field Values

A

action(Collection<Consumer<AB>>) - Method in interface io.github.projectunified.unidialog.core.dialog.MultiActionDialog
Add multiple actions to the dialog
action(Consumer<AB>) - Method in interface io.github.projectunified.unidialog.core.dialog.MultiActionDialog
Add an action to the dialog
action(Consumer<AB>) - Method in interface io.github.projectunified.unidialog.core.dialog.NoticeDialog
Set the action of the notice dialog
afterAction(Dialog.AfterAction) - Method in interface io.github.projectunified.unidialog.core.dialog.Dialog
Set the action to be performed after an action is taken in the dialog

B

body(Collection<Consumer<BB>>) - Method in interface io.github.projectunified.unidialog.core.dialog.Dialog
Set the body of the dialog using a collection of body builders
body(Consumer<BB>) - Method in interface io.github.projectunified.unidialog.core.dialog.Dialog
Set the body of the dialog
booleanInput() - Method in interface io.github.projectunified.unidialog.core.input.DialogInputBuilder
Create a boolean input
BooleanInput<T> - Interface in io.github.projectunified.unidialog.core.input
Interface for boolean input types in a dialog.
booleanValue(String) - Method in interface io.github.projectunified.unidialog.core.payload.DialogPayload
Get the boolean value from the payload
buttonWidth(int) - Method in interface io.github.projectunified.unidialog.core.dialog.DialogListDialog
Set the width of the buttons in the dialog
buttonWidth(int) - Method in interface io.github.projectunified.unidialog.core.dialog.ServerLinksDialog
Set the width of the buttons in the dialog

C

canCloseWithEscape(boolean) - Method in interface io.github.projectunified.unidialog.core.dialog.Dialog
Set the option to allow the dialog to be closed with the escape key
clearDialog(UUID) - Method in interface io.github.projectunified.unidialog.core.DialogManager
Clear the current dialog associated with the given player UUID.
CLOSE - Enum constant in enum class io.github.projectunified.unidialog.core.dialog.Dialog.AfterAction
Close the dialog after the action is taken.
columns(int) - Method in interface io.github.projectunified.unidialog.core.dialog.DialogListDialog
Set the number of columns in the dialog
columns(int) - Method in interface io.github.projectunified.unidialog.core.dialog.MultiActionDialog
Set the number of columns for the dialog
columns(int) - Method in interface io.github.projectunified.unidialog.core.dialog.ServerLinksDialog
Set the number of columns for the dialog
ConfirmationDialog<I,BB,IB,D,AB,T> - Interface in io.github.projectunified.unidialog.core.dialog
Interface representing a confirmation dialog.
copyToClipboard(String) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the action to be a copy-to-clipboard action
createConfirmationDialog() - Method in interface io.github.projectunified.unidialog.core.DialogManager
Create a confirmation dialog
createDialogListDialog() - Method in interface io.github.projectunified.unidialog.core.DialogManager
Create a dialog list dialog
createMultiActionDialog() - Method in interface io.github.projectunified.unidialog.core.DialogManager
Create a multi-action dialog
createNoticeDialog() - Method in interface io.github.projectunified.unidialog.core.DialogManager
Create a notice dialog
createServerLinksDialog() - Method in interface io.github.projectunified.unidialog.core.DialogManager
Create a server links dialog

D

DEFAULT_BUTTON_WIDTH - Static variable in interface io.github.projectunified.unidialog.core.dialog.DialogListDialog
 
DEFAULT_BUTTON_WIDTH - Static variable in interface io.github.projectunified.unidialog.core.dialog.ServerLinksDialog
 
DEFAULT_COLUMNS - Static variable in interface io.github.projectunified.unidialog.core.dialog.DialogListDialog
 
DEFAULT_COLUMNS - Static variable in interface io.github.projectunified.unidialog.core.dialog.MultiActionDialog
 
DEFAULT_COLUMNS - Static variable in interface io.github.projectunified.unidialog.core.dialog.ServerLinksDialog
 
DEFAULT_HEIGHT - Static variable in interface io.github.projectunified.unidialog.core.body.ItemBody
 
DEFAULT_LABEL_FORMAT - Static variable in interface io.github.projectunified.unidialog.core.input.NumberRangeInput
 
DEFAULT_MAX_LENGTH - Static variable in interface io.github.projectunified.unidialog.core.input.TextInput
 
DEFAULT_WIDTH - Static variable in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
 
DEFAULT_WIDTH - Static variable in interface io.github.projectunified.unidialog.core.body.ItemBody
 
DEFAULT_WIDTH - Static variable in interface io.github.projectunified.unidialog.core.body.TextBody
 
DEFAULT_WIDTH - Static variable in interface io.github.projectunified.unidialog.core.input.NumberRangeInput
 
DEFAULT_WIDTH - Static variable in interface io.github.projectunified.unidialog.core.input.SingleOptionInput
 
DEFAULT_WIDTH - Static variable in interface io.github.projectunified.unidialog.core.input.TextInput
 
description(Consumer<B>) - Method in interface io.github.projectunified.unidialog.core.body.ItemBody
Set the description for the body
dialog(D) - Method in interface io.github.projectunified.unidialog.core.dialog.DialogListDialog
Add a dialog to the list of dialogs in this dialog
dialog(DialogOpener) - Method in interface io.github.projectunified.unidialog.core.dialog.DialogListDialog
Add a dialog to the list of dialogs in this dialog
dialog(String, String) - Method in interface io.github.projectunified.unidialog.core.dialog.DialogListDialog
Add a dialog to the list of dialogs in this dialog
dialog(Collection<B>) - Method in interface io.github.projectunified.unidialog.core.dialog.DialogListDialog
Add multiple dialogs to the list of dialogs in this dialog
Dialog<I,BB,IB,T> - Interface in io.github.projectunified.unidialog.core.dialog
Interface representing a dialog.
Dialog.AfterAction - Enum Class in io.github.projectunified.unidialog.core.dialog
The action to be performed after an action is taken in the dialog.
DialogActionBuilder<D,T> - Interface in io.github.projectunified.unidialog.core.action
Interface for building dialog actions.
DialogBodyBuilder<I> - Interface in io.github.projectunified.unidialog.core.body
Interface for building dialog bodies.
DialogInputBuilder - Interface in io.github.projectunified.unidialog.core.input
Interface for building dialog inputs.
DialogListDialog<I,BB,IB,D,AB,T> - Interface in io.github.projectunified.unidialog.core.dialog
Interface representing a dialog that contains a list of other dialogs.
DialogManager<I,BB,IB,D,AB> - Interface in io.github.projectunified.unidialog.core
The main interface for managing dialogs in the UniDialog framework.
DialogOpener - Interface in io.github.projectunified.unidialog.core.opener
Interface for opening dialogs
DialogPayload - Interface in io.github.projectunified.unidialog.core.payload
The payload which is sent back to the server when the player run a custom action in the dialog
dynamicCustom(String) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the action to be a dynamic custom action
dynamicCustom(String, String) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the action to be a dynamic custom action with a namespace
dynamicRunCommand(String) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the action to be a dynamic run command action

E

end(float) - Method in interface io.github.projectunified.unidialog.core.input.NumberRangeInput
Set the end value of the range
exitAction(Consumer<AB>) - Method in interface io.github.projectunified.unidialog.core.dialog.DialogListDialog
Set the action to be performed when exiting the dialog
exitAction(Consumer<AB>) - Method in interface io.github.projectunified.unidialog.core.dialog.MultiActionDialog
Set the exit action for the dialog
exitAction(Consumer<AB>) - Method in interface io.github.projectunified.unidialog.core.dialog.ServerLinksDialog
Set the exit action for the dialog
externalTitle(String) - Method in interface io.github.projectunified.unidialog.core.dialog.Dialog
Set the external title of the dialog, which is used for displaying the dialog in a multi-dialog dialog

H

hasNoAction() - Method in interface io.github.projectunified.unidialog.core.dialog.ConfirmationDialog
Check if the confirmation dialog has a "no" action defined
hasYesAction() - Method in interface io.github.projectunified.unidialog.core.dialog.ConfirmationDialog
Check if the confirmation dialog has a "yes" action defined
height(int) - Method in interface io.github.projectunified.unidialog.core.body.ItemBody
Set the height of the item body
height(Integer) - Method in interface io.github.projectunified.unidialog.core.input.TextInput
Set the height of the input

I

initial(boolean) - Method in interface io.github.projectunified.unidialog.core.input.BooleanInput
Set the initial value of the boolean input.
initial(Float) - Method in interface io.github.projectunified.unidialog.core.input.NumberRangeInput
Set the initial value of the range
initial(String) - Method in interface io.github.projectunified.unidialog.core.input.TextInput
Set the initial value for the input
input(String, Consumer<IB>) - Method in interface io.github.projectunified.unidialog.core.dialog.Dialog
Set the input for the dialog
input(Map<String, Consumer<IB>>) - Method in interface io.github.projectunified.unidialog.core.dialog.Dialog
Set the input for the dialog using a map of input builders
io.github.projectunified.unidialog.core - package io.github.projectunified.unidialog.core
 
io.github.projectunified.unidialog.core.action - package io.github.projectunified.unidialog.core.action
 
io.github.projectunified.unidialog.core.body - package io.github.projectunified.unidialog.core.body
 
io.github.projectunified.unidialog.core.dialog - package io.github.projectunified.unidialog.core.dialog
 
io.github.projectunified.unidialog.core.input - package io.github.projectunified.unidialog.core.input
 
io.github.projectunified.unidialog.core.opener - package io.github.projectunified.unidialog.core.opener
 
io.github.projectunified.unidialog.core.payload - package io.github.projectunified.unidialog.core.payload
 
item() - Method in interface io.github.projectunified.unidialog.core.body.DialogBodyBuilder
Create an item body
item(I) - Method in interface io.github.projectunified.unidialog.core.body.ItemBody
Set the item for the body
ItemBody<I,B,T> - Interface in io.github.projectunified.unidialog.core.body
Interface for building item bodies in a dialog.

L

label(String) - Method in interface io.github.projectunified.unidialog.core.input.SingleOptionInput
Set the label for the input
label(String) - Method in interface io.github.projectunified.unidialog.core.input.TextInput
Set the label for the input
label(String) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the label for the dialog action
label(String) - Method in interface io.github.projectunified.unidialog.core.input.BooleanInput
Set the label for the input.
label(String) - Method in interface io.github.projectunified.unidialog.core.input.NumberRangeInput
Set the label for the input
labelFormat(String) - Method in interface io.github.projectunified.unidialog.core.input.NumberRangeInput
Set the format for the label

M

map() - Method in interface io.github.projectunified.unidialog.core.payload.DialogPayload
Get the map of all values in the payload
maxLength(int) - Method in interface io.github.projectunified.unidialog.core.input.TextInput
Set the maximum length of the input text
maxLines(Integer) - Method in interface io.github.projectunified.unidialog.core.input.TextInput
Set the maximum number of lines for the input
MultiActionDialog<I,BB,IB,D,AB,T> - Interface in io.github.projectunified.unidialog.core.dialog
Interface representing a multi-action dialog.

N

noAction(Consumer<AB>) - Method in interface io.github.projectunified.unidialog.core.dialog.ConfirmationDialog
Set the action for the "no" button in the confirmation dialog
NONE - Enum constant in enum class io.github.projectunified.unidialog.core.dialog.Dialog.AfterAction
Take no action after the action is taken.
NoticeDialog<I,BB,IB,D,AB,T> - Interface in io.github.projectunified.unidialog.core.dialog
Interface representing a notice dialog.
numberRangeInput() - Method in interface io.github.projectunified.unidialog.core.input.DialogInputBuilder
Create a number range input
NumberRangeInput<T> - Interface in io.github.projectunified.unidialog.core.input
Interface for number range input in a dialog.
numberValue(String) - Method in interface io.github.projectunified.unidialog.core.payload.DialogPayload
Get the number value from the payload

O

onFalse(String) - Method in interface io.github.projectunified.unidialog.core.input.BooleanInput
Set the text to be sent when the input is false.
onTrue(String) - Method in interface io.github.projectunified.unidialog.core.input.BooleanInput
Set the text to be sent when the input is true.
open(UUID) - Method in interface io.github.projectunified.unidialog.core.opener.DialogOpener
Open the dialog for the given player UUID
opener() - Method in interface io.github.projectunified.unidialog.core.dialog.Dialog
Create an opener for the dialog
openUrl(String) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the action to be an open-URL action
option(String, String) - Method in interface io.github.projectunified.unidialog.core.input.SingleOptionInput
Add an option to the input
option(String, String, boolean) - Method in interface io.github.projectunified.unidialog.core.input.SingleOptionInput
Add an option to the input
owner() - Method in interface io.github.projectunified.unidialog.core.payload.DialogPayload
Get the owner of the payload

P

pause(boolean) - Method in interface io.github.projectunified.unidialog.core.dialog.Dialog
Set the option to pause the game while the dialog is open

R

register() - Method in interface io.github.projectunified.unidialog.core.DialogManager
Register the dialog manager
registerCustomAction(String, String, BiConsumer<UUID, Map<String, String>>) - Method in interface io.github.projectunified.unidialog.core.DialogManager
Register a custom action with a namespace and a unique identifier.
registerCustomAction(String, String, Consumer<DialogPayload>) - Method in interface io.github.projectunified.unidialog.core.DialogManager
Register a custom action with a unique identifier.
registerCustomAction(String, BiConsumer<UUID, Map<String, String>>) - Method in interface io.github.projectunified.unidialog.core.DialogManager
Register a custom action with a unique identifier.
registerCustomAction(String, Consumer<DialogPayload>) - Method in interface io.github.projectunified.unidialog.core.DialogManager
Register a custom action with a unique identifier.
runCommand(String) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the action to be a run command action

S

ServerLinksDialog<I,BB,IB,D,AB,T> - Interface in io.github.projectunified.unidialog.core.dialog
Interface representing a server links dialog.
showDecorations(boolean) - Method in interface io.github.projectunified.unidialog.core.body.ItemBody
Set the option to show decorations in the body
showDialog(D) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the action to be a show dialog action
showDialog(DialogOpener) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the action to be a show dialog action
showDialog(String, String) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the action to be a show dialog action
showTooltip(boolean) - Method in interface io.github.projectunified.unidialog.core.body.ItemBody
Set the option to show a tooltip in the body
singleOptionInput() - Method in interface io.github.projectunified.unidialog.core.input.DialogInputBuilder
Create a single option input
SingleOptionInput<T> - Interface in io.github.projectunified.unidialog.core.input
Interface for single option input types in a dialog.
start(float) - Method in interface io.github.projectunified.unidialog.core.input.NumberRangeInput
Set the start value of the range
step(Float) - Method in interface io.github.projectunified.unidialog.core.input.NumberRangeInput
Set the step value for the range
suggestCommand(String) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the action to be a suggest command action

T

text() - Method in interface io.github.projectunified.unidialog.core.body.DialogBodyBuilder
Create a text body
text(String) - Method in interface io.github.projectunified.unidialog.core.body.TextBody
Set the text for the body
TextBody<T> - Interface in io.github.projectunified.unidialog.core.body
Interface for building text bodies in a dialog.
textInput() - Method in interface io.github.projectunified.unidialog.core.input.DialogInputBuilder
Create a text input
TextInput<T> - Interface in io.github.projectunified.unidialog.core.input
Interface for text input types in a dialog.
textValue(String) - Method in interface io.github.projectunified.unidialog.core.payload.DialogPayload
Get the text value from the payload
title(String) - Method in interface io.github.projectunified.unidialog.core.dialog.Dialog
Set the title of the dialog
tooltip(String) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the tooltip for the dialog action

U

unregister() - Method in interface io.github.projectunified.unidialog.core.DialogManager
Unregister the dialog manager
unregisterAllCustomActions() - Method in interface io.github.projectunified.unidialog.core.DialogManager
Unregister all custom actions.
unregisterCustomAction(String) - Method in interface io.github.projectunified.unidialog.core.DialogManager
Unregister a custom action by its unique identifier.
unregisterCustomAction(String, String) - Method in interface io.github.projectunified.unidialog.core.DialogManager
Unregister a custom action by its namespace and unique identifier.

V

valueOf(String) - Static method in enum class io.github.projectunified.unidialog.core.dialog.Dialog.AfterAction
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.projectunified.unidialog.core.dialog.Dialog.AfterAction
Returns an array containing the constants of this enum class, in the order they are declared.

W

WAIT_FOR_RESPONSE - Enum constant in enum class io.github.projectunified.unidialog.core.dialog.Dialog.AfterAction
Wait for a response after the action is taken.
width(int) - Method in interface io.github.projectunified.unidialog.core.action.DialogActionBuilder
Set the width for the dialog action
width(int) - Method in interface io.github.projectunified.unidialog.core.body.ItemBody
Set the width of the item body
width(int) - Method in interface io.github.projectunified.unidialog.core.body.TextBody
Set the width of the text body
width(int) - Method in interface io.github.projectunified.unidialog.core.input.NumberRangeInput
Set the width of the input
width(int) - Method in interface io.github.projectunified.unidialog.core.input.SingleOptionInput
Set the width of the input
width(int) - Method in interface io.github.projectunified.unidialog.core.input.TextInput
Set the width of the input

Y

yesAction(Consumer<AB>) - Method in interface io.github.projectunified.unidialog.core.dialog.ConfirmationDialog
Set the action for the "yes" button in the confirmation dialog
A B C D E H I L M N O P R S T U V W Y 
All Classes and Interfaces|All Packages|Constant Field Values