public class LoadingbarControl extends Object
Loadingbar| Modifier | Constructor and Description |
|---|---|
protected |
LoadingbarControl(String id,
Integer animationSpeed)
The constructor of LoadingbarControl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finish()
Finish the Loadingbar.
|
String |
getId()
Get the Loadingbar id.
|
void |
start()
Display a Loadingbar(value is 0) on the top of browser window.
|
void |
start(int value)
Display a Loadingbar on the top of browser window.
|
void |
start(int value,
String position)
Display a Loadingbar.
|
void |
start(int value,
String position,
boolean indeterminate)
Display a Loadingbar.
|
void |
update(boolean indeterminate)
Set indeterminate to the Loadingbar.
|
void |
update(int value)
Set the value to the Loadingbar.
|
public String getId()
public void start()
start(int)public void start(int value)
value - the current value of the Loadingbar.
Range: 0~100, default 0.
see start(int, String)
public void start(int value,
String position)
value - the current value of the Loadingbar.
Range: 0~100, default 0.
position - predefined positions. Available options are "top", "bottom"
default "top".
see start(int, String, boolean)public void start(int value,
String position,
boolean indeterminate)
value - the current value of the Loadingbar.
Range: 0~100, default 0.
position - predefined positions. Available options are "top", "bottom"
default "top".indeterminate - whether to start the indeterminate animation or not, default false.public void update(int value)
value - the current value of the Loadingbar.
Range: 0~100, default 0.
public void update(boolean indeterminate)
indeterminate - whether to start the indeterminate animation or not, default false.public void finish()
Copyright © 2026. All rights reserved.