Package me.hsgamer.bettergui.button
Class LegacyMenuButton
- java.lang.Object
-
- me.hsgamer.bettergui.api.button.BaseWrappedButton<PredicateButton>
-
- me.hsgamer.bettergui.button.LegacyMenuButton
-
- All Implemented Interfaces:
WrappedButton,MenuElement,Button,Initializable
public class LegacyMenuButton extends BaseWrappedButton<PredicateButton>
-
-
Constructor Summary
Constructors Constructor Description LegacyMenuButton(ButtonBuilder.Input input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PredicateButtoncreateButton(Map<String,Object> section)Create the button from the sectionvoidrefresh(UUID uuid)Refresh the button for the unique id-
Methods inherited from class me.hsgamer.bettergui.api.button.BaseWrappedButton
display, getMenu, getName, getOptions, init, stop
-
-
-
-
Constructor Detail
-
LegacyMenuButton
public LegacyMenuButton(ButtonBuilder.Input input)
-
-
Method Detail
-
createButton
protected PredicateButton createButton(Map<String,Object> section)
Description copied from class:BaseWrappedButtonCreate the button from the section- Specified by:
createButtonin classBaseWrappedButton<PredicateButton>- Parameters:
section- the section- Returns:
- the button
-
refresh
public void refresh(UUID uuid)
Description copied from interface:WrappedButtonRefresh the button for the unique id- Parameters:
uuid- the unique id
-
-