org.crosswire.common.progress

## Interface WorkListener

- All Superinterfaces:
    EventListener

      public interface WorkListener
      extends EventListener

  Implement WorkListener and call myClassObj.addProgressListener() to receive WorkEvents when ever we make progress.
  Author:
    Joe Walker
  See Also:
    `The GNU Lesser General Public License for details.`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `workProgressed(WorkEvent ev)` This method is called to indicate that some progress has been made.
    `void` | `workStateChanged(WorkEvent ev)` This method is called to indicate that the work state has changed, perhaps finished.

- - ### Method Detail

    - #### workProgressed

          void workProgressed(WorkEvent ev)

      This method is called to indicate that some progress has been made. The amount of progress is indicated by ev.getPercent()
      Parameters:
        `ev` - Describes the progress

    - #### workStateChanged

          void workStateChanged(WorkEvent ev)

      This method is called to indicate that the work state has changed, perhaps finished.
      Parameters:
        `ev` - Describes the progress