org.geotools.util
Class DelegateProgressListener

java.lang.Object
  extended by org.geotools.util.DelegateProgressListener
All Implemented Interfaces:
org.opengis.util.ProgressListener
Direct Known Subclasses:
SubProgressListener

public class DelegateProgressListener
extends java.lang.Object
implements org.opengis.util.ProgressListener


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

Field Detail

delegate

protected org.opengis.util.ProgressListener delegate
Constructor Detail

DelegateProgressListener

public DelegateProgressListener(org.opengis.util.ProgressListener progress)
Method Detail

started

public void started()
Specified by:
started in interface org.opengis.util.ProgressListener

complete

public void complete()
Specified by:
complete in interface org.opengis.util.ProgressListener

dispose

public void dispose()
Specified by:
dispose in interface org.opengis.util.ProgressListener

exceptionOccurred

public void exceptionOccurred(java.lang.Throwable exception)
Specified by:
exceptionOccurred in interface org.opengis.util.ProgressListener

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface org.opengis.util.ProgressListener

getTask

public org.opengis.util.InternationalString getTask()
Specified by:
getTask in interface org.opengis.util.ProgressListener

isCanceled

public boolean isCanceled()
Specified by:
isCanceled in interface org.opengis.util.ProgressListener

progress

public void progress(float progress)
Specified by:
progress in interface org.opengis.util.ProgressListener

getProgress

public float getProgress()
Specified by:
getProgress in interface org.opengis.util.ProgressListener

setCanceled

public void setCanceled(boolean cancel)
Specified by:
setCanceled in interface org.opengis.util.ProgressListener

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface org.opengis.util.ProgressListener

setTask

public void setTask(org.opengis.util.InternationalString task)
Specified by:
setTask in interface org.opengis.util.ProgressListener

warningOccurred

public void warningOccurred(java.lang.String source,
                            java.lang.String location,
                            java.lang.String warning)
Specified by:
warningOccurred in interface org.opengis.util.ProgressListener


Copyright © 1996-2010 Geotools. All Rights Reserved.