Class TextButtonBuilder
java.lang.Object
xyz.gmitch215.socketmc.screen.builder.WidgetBuilder<TextButtonBuilder,TextButton>
xyz.gmitch215.socketmc.screen.builder.WidgetWithTextBuilder<TextButtonBuilder,TextButton>
xyz.gmitch215.socketmc.screen.builder.TextButtonBuilder
Represents a builder for a
TextButton
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the widget.static @NotNull TextButtonBuilder
builder()
Creates a new TextButtonBuilder.Methods inherited from class xyz.gmitch215.socketmc.screen.builder.WidgetWithTextBuilder
message, message, messageJSON
-
Method Details
-
build
Description copied from class:WidgetBuilder
Builds the widget.- Specified by:
build
in classWidgetBuilder<TextButtonBuilder,
TextButton> - Returns:
- The built widget.
-
builder
Creates a new TextButtonBuilder.- Returns:
TextButton
Builder
-