Class SpigotTextBody
java.lang.Object
io.github.projectunified.unidialog.spigot.body.SpigotTextBody
- All Implemented Interfaces:
TextBody<SpigotTextBody>
,SpigotDialogBody
-
Field Summary
Fields inherited from interface io.github.projectunified.unidialog.core.body.TextBody
DEFAULT_WIDTH
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SpigotTextBody
public SpigotTextBody()
-
-
Method Details
-
text
Set the text for the body- Parameters:
text
- the text to set- Returns:
- the instance of the text body for method chaining
-
text
Description copied from interface:TextBody
Set the text for the body- Specified by:
text
in interfaceTextBody<SpigotTextBody>
- Parameters:
text
- the text to set- Returns:
- the instance of the text body for method chaining
-
width
Description copied from interface:TextBody
Set the width of the text body- Specified by:
width
in interfaceTextBody<SpigotTextBody>
- Parameters:
width
- the width to set- Returns:
- the instance of the text body for method chaining
-
getDialogBody
public net.md_5.bungee.api.dialog.body.DialogBody getDialogBody()- Specified by:
getDialogBody
in interfaceSpigotDialogBody
-