|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.Staker.FieldStaker.StakerPostprocessing
public class StakerPostprocessing
This class handles all the postprocessing logic for the staker, except for actually correcting the job, which is done in Job.applyCorrections(). It listens to the staker for job events, and every time the job changes it loads the corrections, creates a report and shows the report in a window. To improve performance, the work is only done if the window is visible.
| Constructor Summary | |
|---|---|
protected |
StakerPostprocessing(Staker inStaker)
Only called by the staker. |
| Method Summary | |
|---|---|
void |
applyCorrections()
This function is called by the GUI when the 'apply corrections' button is pressed. |
Staker |
getStaker()
|
CorrectedJob |
loadCorrectedJob()
Loads the corrections for a given job. |
void |
toggleWindowVisibility()
Corrections are automatically loaded while the window is visible. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected StakerPostprocessing(Staker inStaker)
Only called by the staker.
inStaker - | Method Detail |
|---|
public Staker getStaker()
public void applyCorrections()
This function is called by the GUI when the 'apply corrections' button is pressed.
public CorrectedJob loadCorrectedJob()
Loads the corrections for a given job. The corrections are cached, so that the corrections are only loaded once while a given job is open.
As long as there is a current job, the corrections are never null - if no corrections are available, this object tells you where they would have been found, for troubleshooting.
public void toggleWindowVisibility()
Corrections are automatically loaded while the window is visible.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||