|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.contactcenters.app.ContactCenterProgressBar
public class ContactCenterProgressBar
Contact center simulation listener displaying a progress bar for the simulation. This listener shows the number of completed steps over the total number of steps to complete before the simulation ends, with a visual progress indicator.
Constructor Summary | |
---|---|
ContactCenterProgressBar()
|
Method Summary | |
---|---|
void |
simulationExtended(ObservableContactCenterSim sim,
int newNumTargetSteps)
Indicates that an in-progress simulation performed by the simulator sim is extended to consist of newNumTargetSteps steps. |
void |
simulationStarted(ObservableContactCenterSim sim,
int numTargetSteps)
Indicates that a new simulation was started by the simulator sim, and that it will consist of numTargetSteps steps. |
void |
simulationStopped(ObservableContactCenterSim sim,
boolean aborted)
Indicates that a simulation performed by sim is terminated. |
void |
stepDone(ObservableContactCenterSim sim)
Indicates that a step was done by the simulator sim. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContactCenterProgressBar()
Method Detail |
---|
public void simulationExtended(ObservableContactCenterSim sim, int newNumTargetSteps)
ContactCenterSimListener
simulationExtended
in interface ContactCenterSimListener
sim
- the contact center simulator.newNumTargetSteps
- the new target number of steps.public void simulationStarted(ObservableContactCenterSim sim, int numTargetSteps)
ContactCenterSimListener
simulationStarted
in interface ContactCenterSimListener
sim
- the contact center simulator.numTargetSteps
- the predicted number of steps.public void simulationStopped(ObservableContactCenterSim sim, boolean aborted)
ContactCenterSimListener
ObservableContactCenterSim.abort()
. Otherwise, it has terminated
after the target number of steps is reached.
simulationStopped
in interface ContactCenterSimListener
sim
- the contact center simulator.aborted
- true if and only if the simulation was aborted.public void stepDone(ObservableContactCenterSim sim)
ContactCenterSimListener
ContactCenterSim.getCompletedSteps()
to obtain the number of
completed steps.
stepDone
in interface ContactCenterSimListener
sim
- the contact center simulator.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |