Class SGDefaultToolbarBuilder
java.lang.Object
com.samjakob.spigui.toolbar.SGDefaultToolbarBuilder
- All Implemented Interfaces:
SGToolbarBuilder
The default implementation of
This class is used by default by SpiGUI, but you can override this class by extending it and passing your custom implementation to
SGToolbarBuilder.
This class is used by default by SpiGUI, but you can override this class by extending it and passing your custom implementation to
SpiGUI.setDefaultToolbarBuilder(SGToolbarBuilder)
(or to use it for a specific menu, pass it to
SGMenu.setToolbarBuilder(SGToolbarBuilder)).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildToolbarButton(int slot, int page, SGToolbarButtonType type, SGMenu menu) Specifies the toolbar button builder for anSGMenu.
-
Constructor Details
-
SGDefaultToolbarBuilder
public SGDefaultToolbarBuilder()Construct the default implementation ofSGToolbarBuilder.
-
-
Method Details