public interface GUIGaugeListener
Modifier and Type | Method and 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 java.lang.String labelText,
@NotNull java.lang.String tooltipText)
Sets the values to display.
|
void setValues(int curValue, int minValue, int maxValue, @NotNull @NotNull java.lang.String labelText, @NotNull @NotNull java.lang.String tooltipText)
curValue
- the values to displayminValue
- the minimum possible valuemaxValue
- the maximum possible valuelabelText
- the label texttooltipText
- the tooltip suffixvoid setHidden(boolean hidden)
hidden
- whether the gauge is hidden