|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.h2gis.h2spatialapi.EmptyProgressVisitor
public class EmptyProgressVisitor
A progress visitor that do nothing.
| Field Summary |
|---|
| Fields inherited from interface org.h2gis.h2spatialapi.ProgressVisitor |
|---|
PROPERTY_CANCELED |
| Constructor Summary | |
|---|---|
EmptyProgressVisitor()
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(String property,
PropertyChangeListener listener)
Listen for this visitor properties |
void |
cancel()
Call this method to cancel the operation |
void |
endOfProgress()
Same thing as call ProgressVisitor.setStep(int) with step count. |
void |
endStep()
Same as ProgressVisitor.setStep(int) with currentStep++ |
double |
getProgression()
|
int |
getStepCount()
|
boolean |
isCanceled()
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
|
void |
setStep(int idStep)
|
ProgressVisitor |
subProcess(int stepCount)
Create a sub process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyProgressVisitor()
| Method Detail |
|---|
public void endOfProgress()
ProgressVisitorProgressVisitor.setStep(int) with step count.
endOfProgress in interface ProgressVisitorpublic ProgressVisitor subProcess(int stepCount)
ProgressVisitor
subProcess in interface ProgressVisitorstepCount - Number of step into the sub-process.
public void endStep()
ProgressVisitorProgressVisitor.setStep(int) with currentStep++
endStep in interface ProgressVisitorpublic void setStep(int idStep)
setStep in interface ProgressVisitoridStep - Set the current step, must be in [0-stepCount]public int getStepCount()
getStepCount in interface ProgressVisitorpublic double getProgression()
getProgression in interface ProgressVisitorpublic boolean isCanceled()
isCanceled in interface ProgressVisitorpublic void cancel()
ProgressVisitor
cancel in interface ProgressVisitor
public void addPropertyChangeListener(String property,
PropertyChangeListener listener)
ProgressVisitor
addPropertyChangeListener in interface ProgressVisitorproperty - Property name one of ProgressVisitor.PROPERTY_CANCELEDlistener - Listener instancepublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface ProgressVisitorlistener - Listener instance
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||