Class GUISpinner

All Implemented Interfaces:
GUIElement, KeyPressedHandler, ImageObserver, MenuContainer, Serializable

public class GUISpinner extends ActivatableGUIElement implements KeyPressedHandler
A GUIElement that displays a spinner.
See Also:
  • Constructor Details

    • GUISpinner

      public GUISpinner(@NotNull @NotNull TooltipManager tooltipManager, @NotNull @NotNull GUIElementListener elementListener, @NotNull @NotNull String name, @NotNull @NotNull NewcharStat stat, @NotNull @NotNull NewCharModel newCharModel, @NotNull @NotNull GuiFactory guiFactory)
      Creates a new instance.
      Parameters:
      tooltipManager - the tooltip manager to update
      elementListener - the element listener to notify
      name - the name of this element
      stat - the stat to show
      newCharModel - the model to display
      guiFactory - the global GUI factory instance
  • Method Details