com.sun.electric.tool.user
Class CircuitChangeJobs.RotateSelected

java.lang.Object
  extended by com.sun.electric.tool.Job
      extended by com.sun.electric.tool.user.CircuitChangeJobs.RotateSelected
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CircuitChangeJobs

public static class CircuitChangeJobs.RotateSelected
extends Job

NODE TRANSFORMATION

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.electric.tool.Job
Job.Mode, Job.Priority, Job.Type
 
Field Summary
 
Fields inherited from class com.sun.electric.tool.Job
BATCHMODE, endTime, LOCALDEBUGFLAG, startTime
 
Constructor Summary
CircuitChangeJobs.RotateSelected(Cell cell, java.util.List<Geometric> highs, int amount, boolean mirror, boolean mirrorH)
           
 
Method Summary
 boolean doIt()
          This is the main work method.
 
Methods inherited from class com.sun.electric.tool.Job
abort, acquireExamineLock, checkAbort, fieldVariableChanged, getAllJobs, getDatabase, getDebug, getDeleteWhenDone, getDisplay, getExtendedUserInterface, getInfo, getNumThreads, getRunMode, getRunningJob, getScheduledToAbort, getStatus, getUserInterface, initJobManager, invokeExamineLater, isFinished, releaseExamineLock, remove, setDebug, setProgress, setReportExecutionFlag, setThreadMode, startJob, startJob, startJobOnMyResult, terminateFail, terminateIt, terminateOK, threadDatabase, toString, updateIncrementalDRCErrors, updateNetworkErrors, wantUpdateGui
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CircuitChangeJobs.RotateSelected

public CircuitChangeJobs.RotateSelected(Cell cell,
                                        java.util.List<Geometric> highs,
                                        int amount,
                                        boolean mirror,
                                        boolean mirrorH)
Parameters:
cell -
highs - the highlighted objects (list of highlights)
amount - angle in tenth degrees to rotate
mirror - whether or not to mirror. if true, amount is ignored, and mirrorH is used.
mirrorH - if true, mirror horizontally (flip over X-axis), otherwise mirror vertically (flip over Y-axis). Ignored if mirror is false.
Method Detail

doIt

public boolean doIt()
             throws JobException
Description copied from class: Job
This is the main work method. This method should perform all needed tasks.

Specified by:
doIt in class Job
Throws:
JobException - TODO