org.crosswire.common.progress
Interface WorkListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
JobsProgressBar, JobsViewPane, Splash.CustomWorkListener

public interface WorkListener
extends EventListener

Implement WorkListener and call MutableBook.addProgressListener() to recieve ProgressEvents when ever we make progress.

Distribution Licence:
JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
The copyright to this program is held by it's authors.

Version:
$Id: WorkListener.java,v 1.3 2004/08/16 22:07:35 joe Exp $
Author:
Joe Walker [joe at eireneh dot com]
See Also:
Licence

Method Summary
 void workProgressed(WorkEvent ev)
          This method is called to indicate that some progress has been made.
 

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

Copyright ? 2003-2004