H
- the generic typeCompositeComponentHandle<H,REF>
public interface ProgressHandle<H>
The handle reference requires the ProgressAccessor
interface to be
implemented.
Modifier and Type | Method | Description |
---|---|---|
float |
getProgress(H aHandle) |
The progress of a handle can be queried by this method.
|
boolean |
hasProgress(H aHandle) |
Determines whether the handle reference provides a progress by
implementing the
ProgressAccessor interface. |
boolean hasProgress(H aHandle) throws UnknownHandleRuntimeException
ProgressAccessor
interface.aHandle
- The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException
- Thrown in case the handle is
unknown (there is none reference for this handle).float getProgress(H aHandle) throws UnsupportedHandleOperationRuntimeException, UnknownHandleRuntimeException
ProgressAccessor
interface to
be implemented.aHandle
- The handle for which to determine the current progress.UnsupportedHandleOperationRuntimeException
- in case the reference
of the handle does not support the requested operation.UnknownHandleRuntimeException
- Thrown in case the handle is
unknown (there is none reference for this handle).Copyright © 2018. All rights reserved.