Class ProgressEvent

java.lang.Object
java.util.EventObject
se.datadosen.jalbum.event.ProgressEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ByteProgressEvent, FileProgressEvent

public class ProgressEvent extends EventObject
See Also:
  • Field Details

    • msg

      public String msg
    • processed

      public long processed
    • total

      public final long total
    • subMessage

      public String subMessage
  • Constructor Details

    • ProgressEvent

      public ProgressEvent(Object source, String msg)
      Fire indefinite progress event
      Parameters:
      source -
      msg -
    • ProgressEvent

      public ProgressEvent(Object source, String msg, String submessage)
      Fire indefinite progress event
      Parameters:
      source -
      msg -
      submessage -
    • ProgressEvent

      public ProgressEvent(Object source, String msg, String submessage, long processed, long total)
  • Method Details

    • isIndeterminate

      public boolean isIndeterminate()
    • abortProcessing

      public void abortProcessing()
    • isAborted

      public boolean isAborted()