public final class UiActivityMonitorImpl extends UiActivityMonitor implements ModalityStateListener, Disposable
Modifier and Type | Class and Description |
---|---|
class |
UiActivityMonitorImpl.BusyContainer |
Disposable.Parent
Constructor and Description |
---|
UiActivityMonitorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addActivity(Project project,
UiActivity activity) |
void |
addActivity(Project project,
UiActivity activity,
ModalityState effectiveModalityState) |
void |
addActivity(UiActivity activity) |
void |
addActivity(UiActivity activity,
ModalityState effectiveModalityState) |
void |
beforeModalityStateChanged(boolean entering) |
void |
clear() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
BusyObject |
getBusy(Project project,
UiActivity... toWatch) |
BusyObject |
getBusy(UiActivity... toWatch) |
void |
installListener() |
boolean |
isActive() |
void |
maybeReady() |
void |
removeActivity(Project project,
UiActivity activity) |
void |
removeActivity(UiActivity activity) |
void |
setActive(boolean active) |
public void installListener()
public void dispose()
Disposable
dispose
in interface Disposable
public void beforeModalityStateChanged(boolean entering)
beforeModalityStateChanged
in interface ModalityStateListener
public void maybeReady()
public BusyObject getBusy(Project project, UiActivity... toWatch)
public BusyObject getBusy(UiActivity... toWatch)
public void addActivity(Project project, UiActivity activity)
public void addActivity(Project project, UiActivity activity, ModalityState effectiveModalityState)
public void removeActivity(Project project, UiActivity activity)
public void addActivity(UiActivity activity)
public void addActivity(UiActivity activity, ModalityState effectiveModalityState)
public void removeActivity(UiActivity activity)
public void clear()
public void setActive(boolean active)
public boolean isActive()