org.geotools.util
Class DelegateProgressListener

Object
  extended by DelegateProgressListener
All Implemented Interfaces:
ProgressListener
Direct Known Subclasses:
SubProgressListener

public class DelegateProgressListener
extends Object
implements ProgressListener


Field Summary
protected  ProgressListener delegate
           
 
Constructor Summary
DelegateProgressListener(ProgressListener progress)
           
 
Method Summary
 void complete()
           
 void dispose()
           
 void exceptionOccurred(Throwable exception)
           
 String getDescription()
           
 float getProgress()
           
 InternationalString getTask()
           
 boolean isCanceled()
           
 void progress(float progress)
           
 void setCanceled(boolean cancel)
           
 void setDescription(String description)
           
 void setTask(InternationalString task)
           
 void started()
           
 void warningOccurred(String source, String location, String warning)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected ProgressListener delegate
Constructor Detail

DelegateProgressListener

public DelegateProgressListener(ProgressListener progress)
Method Detail

started

public void started()
Specified by:
started in interface ProgressListener

complete

public void complete()
Specified by:
complete in interface ProgressListener

dispose

public void dispose()
Specified by:
dispose in interface ProgressListener

exceptionOccurred

public void exceptionOccurred(Throwable exception)
Specified by:
exceptionOccurred in interface ProgressListener

getDescription

public String getDescription()
Specified by:
getDescription in interface ProgressListener

getTask

public InternationalString getTask()
Specified by:
getTask in interface ProgressListener

isCanceled

public boolean isCanceled()
Specified by:
isCanceled in interface ProgressListener

progress

public void progress(float progress)
Specified by:
progress in interface ProgressListener

getProgress

public float getProgress()
Specified by:
getProgress in interface ProgressListener

setCanceled

public void setCanceled(boolean cancel)
Specified by:
setCanceled in interface ProgressListener

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface ProgressListener

setTask

public void setTask(InternationalString task)
Specified by:
setTask in interface ProgressListener

warningOccurred

public void warningOccurred(String source,
                            String location,
                            String warning)
Specified by:
warningOccurred in interface ProgressListener


Copyright © 1996-2009 Geotools. All Rights Reserved.