6.3.1.2.10. IProgressor

public interface IProgressor

Interface for progress indication

6.3.1.2.10.1. Methods

6.3.1.2.10.1.1. isCanceled

boolean isCanceled()

The process should execute this method if it should be canceled.

Returns:true if progress must be canceled, or false

6.3.1.2.10.1.2. setIndeterminate

void setIndeterminate(boolean indeterminate)

If progress cannot determinate the max value and current value, it can be set as indeterminate.

Parameters:
  • indeterminate – true to set indeterminate state, or false

6.3.1.2.10.1.3. setMax

void setMax(int maxValue)

Set maximum value of progress

Parameters:
  • maxValue – maximum value

6.3.1.2.10.1.4. setMessage

void setMessage(String message)

Set some message to show in progress dialog or somewhere else.

Parameters:
  • message – a message

6.3.1.2.10.1.5. setValue

void setValue(int value)

Set current progress.

Parameters:
  • value – current progress