Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¨ 2003-2015
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD