ProgressBar.setState

Sets the state of the receiver. The state must be one of these values: <ul> <li>{@link SWT#NORMAL}</li> <li>{@link SWT#ERROR}</li> <li>{@link SWT#PAUSED}</li> </ul>

@param state the new state

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

@since 3.4

class ProgressBar
void
setState
(
int state
)

Meta