IProgressor

public interface IProgressor

Interface for progress indication

Methods

isCanceled

boolean isCanceled()

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

Результат:true if progress must be canceled, or false

setIndeterminate

void setIndeterminate(boolean indeterminate)

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

Параметры:
  • indeterminate – true to set indeterminate state, or false

setMax

void setMax(int maxValue)

Set maximum value of progress

Параметры:
  • maxValue – maximum value

setMessage

void setMessage(String message)

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

Параметры:
  • message – a message

setValue

void setValue(int value)

Set current progress.

Параметры:
  • value – current progress