Package me.hsgamer.bettergui.button
Class WrappedAnimatedButton
- java.lang.Object
-
- me.hsgamer.bettergui.api.button.BaseWrappedButton<AnimatedButton>
-
- me.hsgamer.bettergui.button.WrappedAnimatedButton
-
- All Implemented Interfaces:
WrappedButton
,MenuElement
,Button
,Initializable
public class WrappedAnimatedButton extends BaseWrappedButton<AnimatedButton>
-
-
Constructor Summary
Constructors Constructor Description WrappedAnimatedButton(ButtonBuilder.Input input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AnimatedButton
createButton(Map<String,Object> section)
Create the button from the sectionvoid
refresh(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
-
WrappedAnimatedButton
public WrappedAnimatedButton(ButtonBuilder.Input input)
-
-
Method Detail
-
createButton
protected AnimatedButton createButton(Map<String,Object> section)
Description copied from class:BaseWrappedButton
Create the button from the section- Specified by:
createButton
in classBaseWrappedButton<AnimatedButton>
- Parameters:
section
- the section- Returns:
- the button
-
refresh
public void refresh(UUID uuid)
Description copied from interface:WrappedButton
Refresh the button for the unique id- Parameters:
uuid
- the unique id
-
-