net.java.joglutils.msg.test
Class ProgressEvent<IDENT>
java.lang.Object
java.util.EventObject
net.java.joglutils.msg.test.ProgressEvent<IDENT>
- All Implemented Interfaces:
- Serializable
public class ProgressEvent<IDENT>
- extends EventObject
Represents a progress event during downloading or uploading of an
image.
- Author:
- Kenneth Russell
- See Also:
- Serialized Form
ProgressEvent
public ProgressEvent(Fetcher<IDENT> source,
Object imageDescriptor,
IDENT clientIdentifier,
float fractionCompleted,
boolean isDownload)
getImageDescriptor
public Object getImageDescriptor()
getClientIdentifier
public IDENT getClientIdentifier()
getFractionCompleted
public float getFractionCompleted()
- Returns a fraction between 0.0f and 1.0f, or a negative number
if we weren't able to make a determination of the estimated
image size.
isDownload
public boolean isDownload()