How to modify the value of a SUICircularProgressBar by script using Java
In your Java class, do the following:
public class YourClass extends Component {
// To control the maximum value of the progress bar
public float maxValue = 75f; // change the value by properties
// creates a new SUICircularProgressBar, @AutoWired selects the component from this object
@AutoWired
private SUICircularProgressBar progressBar;
@Override
public void start() {
}
@Override
public void repeat() {
// changes the value of the SUICircularProgressBar
progressBar.setMaxValue(maxValue);
}
}