com.partnersoft.v3x.apps.Staker.DXF
Class JobDrawingIterator

java.lang.Object
  extended by com.partnersoft.v3x.apps.Staker.domain.JobIterator
      extended by com.partnersoft.v3x.apps.Staker.DXF.JobDrawingIterator

public class JobDrawingIterator
extends JobIterator

Iterates through a job and draws it.


Constructor Summary
JobDrawingIterator(Job jobby, DrawingWriter writer)
          Create a JobDrawingIterator which draws the job to the given writer.
 
Method Summary
protected  void forJob(Job job)
          Called first.
protected  void forLocation(Job job, Location location)
          Called for each Location.
protected  void forRedlineNode(Job job, RedlineNode node)
          Called for each RedlineNode found.
protected  void forRedlineSticker(Job job, RedlineSticker sticker)
          Called for each RedlineSticker found.
protected  void forRedlineText(Job job, RedlineText text)
          Called for each RedlineText found.
protected  void forUnitAtLocation(Job job, Location location, UnitAtALocation unitAtLocation)
          Called for each UnitAtALocation.
protected  void whenFinished(Job job)
           
 
Methods inherited from class com.partnersoft.v3x.apps.Staker.domain.JobIterator
forUnitOnSpan, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobDrawingIterator

public JobDrawingIterator(Job jobby,
                          DrawingWriter writer)
Create a JobDrawingIterator which draws the job to the given writer.

Method Detail

forJob

protected void forJob(Job job)
Called first. Job-specific actions should occur here.

Overrides:
forJob in class JobIterator

forLocation

protected void forLocation(Job job,
                           Location location)
Called for each Location. Location-specific actions should occur here.

Overrides:
forLocation in class JobIterator

forUnitAtLocation

protected void forUnitAtLocation(Job job,
                                 Location location,
                                 UnitAtALocation unitAtLocation)
Called for each UnitAtALocation. UnitAtALocation-specific actions should occur here.

Overrides:
forUnitAtLocation in class JobIterator

forRedlineText

protected void forRedlineText(Job job,
                              RedlineText text)
Called for each RedlineText found.

Overrides:
forRedlineText in class JobIterator

forRedlineNode

protected void forRedlineNode(Job job,
                              RedlineNode node)
Called for each RedlineNode found.

Overrides:
forRedlineNode in class JobIterator

forRedlineSticker

protected void forRedlineSticker(Job job,
                                 RedlineSticker sticker)
Called for each RedlineSticker found.

Overrides:
forRedlineSticker in class JobIterator

whenFinished

protected void whenFinished(Job job)
Overrides:
whenFinished in class JobIterator