|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProgressVisitor
Progression information.
| Field Summary | |
|---|---|
static String |
PROPERTY_CANCELED
|
| 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 setStep(int) with step count. |
void |
endStep()
Same as 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. |
| Field Detail |
|---|
static final String PROPERTY_CANCELED
| Method Detail |
|---|
ProgressVisitor subProcess(int stepCount)
stepCount - Number of step into the sub-process.
void endStep()
setStep(int) with currentStep++
void setStep(int idStep)
idStep - Set the current step, must be in [0-stepCount]int getStepCount()
void endOfProgress()
setStep(int) with step count.
double getProgression()
boolean isCanceled()
void cancel()
void addPropertyChangeListener(String property,
PropertyChangeListener listener)
property - Property name one of PROPERTY_CANCELEDlistener - Listener instancevoid removePropertyChangeListener(PropertyChangeListener listener)
listener - Listener instance
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||