com.jrefinery.report.targets.pageable.operations
Class PhysicalOperation.SetPaintOperation

java.lang.Object
  extended bycom.jrefinery.report.targets.pageable.operations.PhysicalOperation
      extended bycom.jrefinery.report.targets.pageable.operations.PhysicalOperation.SetPaintOperation
Enclosing class:
PhysicalOperation

public static class PhysicalOperation.SetPaintOperation
extends PhysicalOperation

An operation that sets the paint for an OutputTarget.


Nested Class Summary
 
Nested classes inherited from class com.jrefinery.report.targets.pageable.operations.PhysicalOperation
PhysicalOperation.AddComment, PhysicalOperation.PrintFilledShapeOperation, PhysicalOperation.PrintImageOperation, PhysicalOperation.PrintShapeOperation, PhysicalOperation.PrintTextOperation, PhysicalOperation.ProcessDrawableOperation, PhysicalOperation.SetBoundsOperation, PhysicalOperation.SetFontOperation, PhysicalOperation.SetPaintOperation, PhysicalOperation.SetStrokeOperation
 
Constructor Summary
PhysicalOperation.SetPaintOperation(java.awt.Color paint)
          Creates a new 'set paint' operation.
 
Method Summary
 void performOperation(OutputTarget ot)
          Sets the paint for an output target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicalOperation.SetPaintOperation

public PhysicalOperation.SetPaintOperation(java.awt.Color paint)
Creates a new 'set paint' operation.

Parameters:
paint - the paint.
Method Detail

performOperation

public void performOperation(OutputTarget ot)
                      throws OutputTargetException
Sets the paint for an output target.

Specified by:
performOperation in class PhysicalOperation
Parameters:
ot - the output target.
Throws:
OutputTargetException - if there is a problem performing the operation on the target.