Class BungeeTextInput
java.lang.Object
io.github.projectunified.unidialog.bungeecord.input.BungeeDialogInput
io.github.projectunified.unidialog.bungeecord.input.BungeeTextInput
- All Implemented Interfaces:
TextInput<BungeeTextInput>
-
Field Summary
Fields inherited from class io.github.projectunified.unidialog.bungeecord.input.BungeeDialogInput
keyFields inherited from interface io.github.projectunified.unidialog.core.input.TextInput
DEFAULT_MAX_LENGTH, DEFAULT_WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.md_5.bungee.api.dialog.input.DialogInputSet the height of the inputSet the initial value for the inputSet the label for the inputlabel(@Nullable net.md_5.bungee.api.chat.BaseComponent label) Set the label for the inputmaxLength(int maxLength) Set the maximum length of the input textSet the maximum number of lines for the inputwidth(int width) Set the width of the input
-
Constructor Details
-
BungeeTextInput
-
-
Method Details
-
width
Description copied from interface:TextInputSet the width of the input- Specified by:
widthin interfaceTextInput<BungeeTextInput>- Parameters:
width- the width- Returns:
- the current instance for method chaining
-
label
Set the label for the input- Parameters:
label- the label text- Returns:
- the current instance for method chaining
-
label
Description copied from interface:TextInputSet the label for the input- Specified by:
labelin interfaceTextInput<BungeeTextInput>- Parameters:
label- the label text- Returns:
- the current instance for method chaining
-
initial
Description copied from interface:TextInputSet the initial value for the input- Specified by:
initialin interfaceTextInput<BungeeTextInput>- Parameters:
initial- the initial text- Returns:
- the current instance for method chaining
-
maxLength
Description copied from interface:TextInputSet the maximum length of the input text- Specified by:
maxLengthin interfaceTextInput<BungeeTextInput>- Parameters:
maxLength- the maximum number of characters allowed- Returns:
- the current instance for method chaining
-
maxLines
Description copied from interface:TextInputSet the maximum number of lines for the input- Specified by:
maxLinesin interfaceTextInput<BungeeTextInput>- Parameters:
maxLines- the maximum number of lines allowed- Returns:
- the current instance for method chaining
-
height
Description copied from interface:TextInputSet the height of the input- Specified by:
heightin interfaceTextInput<BungeeTextInput>- Parameters:
height- the height- Returns:
- the current instance for method chaining
-
getDialogInput
public net.md_5.bungee.api.dialog.input.DialogInput getDialogInput()- Specified by:
getDialogInputin classBungeeDialogInput
-