Interface GUIGaugeListener

All Known Implementing Classes:
GUIDupGauge, GUIGauge, GUITextGauge

public interface GUIGaugeListener
Interface which is implemented by all listener classes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setHidden(boolean hidden)
    Specify whether this item should hide itself, independent of the "visibility" state.
    void
    setValues(int curValue, int minValue, int maxValue, @NotNull String labelText, @NotNull String tooltipText)
    Sets the values to display.
  • Method Details

    • setValues

      void setValues(int curValue, int minValue, int maxValue, @NotNull @NotNull String labelText, @NotNull @NotNull String tooltipText)
      Sets the values to display.
      Parameters:
      curValue - the values to display
      minValue - the minimum possible value
      maxValue - the maximum possible value
      labelText - the label text
      tooltipText - the tooltip suffix
    • setHidden

      void setHidden(boolean hidden)
      Specify whether this item should hide itself, independent of the "visibility" state.
      Parameters:
      hidden - whether the gauge is hidden