public interface ThreadController extends StatusInfoPresenter
Modifier and Type | Method and Description |
---|---|
boolean |
isToCancel()
Returns true if the thread is to cancel.
|
void |
setCancelButtonEnabled(boolean enabled)
Enables or disables the cancel button.
|
void |
setStatusInformation(java.lang.String statusInformation)
Sets the status information to be transfered to the user.
|
void |
taskIsDone()
Informs the controller that the task is done.
|
void setCancelButtonEnabled(boolean enabled)
enabled
- whether the cancel button should be enabled o not.boolean isToCancel()
void setStatusInformation(java.lang.String statusInformation)
setStatusInformation
in interface StatusInfoPresenter
message
- the status information for the uservoid taskIsDone()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de