Package net.staticstudios.menus.button
Interface ButtonBuilder
- All Known Implementing Classes:
PlayerSkullButtonBuilder,SimpleButtonBuilder
public interface ButtonBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the buttondefault ButtonbuildAndRegister(String namespace, String id) Build the button and register it to theButtonRegistry
-
Method Details
-
build
Button build()Build the button- Returns:
- The button
-
buildAndRegister
Build the button and register it to theButtonRegistry- Parameters:
namespace- The namespace to register the button inid- The id to register the button with- Returns:
- The button
-