SUIProgressBar
class SUIProgressBar
Progress bars that display a minimum, maximum and flexible value on the screen can be modified as you wish.
See the SUIProgressBar component topic to learn more about SUIProgressBar.
public class SUIProgressBar extends Component
— Enumerators (1) —
public enum Mode{
Horizontal, Vertical
}
— Constructors (1) —
Constructor | Description |
---|---|
SUIProgressBar() | Creates a new instance of SUIProgressBar. |
— Methods (10) —
Name | Description |
---|---|
float getValue() | Returns the current value of the SUIProgressBar. |
void setValue(float value) | Sets the current value of the SUIProgressBar to be "value" argument. |
float getMaxValue() | Returns the current maximum value of the SUIProgressBar. |
void setMaxValue(float value) | Sets the current maximum value of the SUIProgressBar to be "value" argument. |
boolean isTextEnabled() | Returns true if SUIProgressBar text is enabled, false otherwise. |
void setTextEnabled(boolean value) | Defines whether the SUIProgressBar text will be enabled or disabled to be "value" argument. |
boolean isInvert() | Returns true if the SUIProgressBar's "invert" option is enabled, returns false otherwise. |
void setInvert(boolean value) | Defines whether the SUIProgressBar's "invert" option will be enabled or not. |
[Mode] getMode() | Returns the current steering mode of the SUIProgressBar (Horizontal or Vertical). |
[Mode] setMode([Mode] mode) | Sets the current steering mode of the SUIProgressBar (Horizontal or Vertical). |