Package se.datadosen.jalbum.event
Class ProgressEvent
java.lang.Object
java.util.EventObject
se.datadosen.jalbum.event.ProgressEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ByteProgressEvent
,FileProgressEvent
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionProgressEvent
(Object source, String msg) Fire indefinite progress eventProgressEvent
(Object source, String msg, String submessage) Fire indefinite progress eventProgressEvent
(Object source, String msg, String submessage, long processed, long total) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
msg
-
processed
public long processed -
total
public final long total -
subMessage
-
-
Constructor Details
-
ProgressEvent
Fire indefinite progress event- Parameters:
source
-msg
-
-
ProgressEvent
Fire indefinite progress event- Parameters:
source
-msg
-submessage
-
-
ProgressEvent
-
-
Method Details
-
isIndeterminate
public boolean isIndeterminate() -
abortProcessing
public void abortProcessing() -
isAborted
public boolean isAborted()
-