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

java.lang.Object
  |
  +--com.jrefinery.report.targets.pageable.operations.PhysicalOperation
Direct Known Subclasses:
PhysicalOperation.AddComment, PhysicalOperation.PrintFilledShapeOperation, PhysicalOperation.PrintImageOperation, PhysicalOperation.PrintShapeOperation, PhysicalOperation.PrintTextOperation, PhysicalOperation.ProcessDrawableOperation, PhysicalOperation.SetBoundsOperation, PhysicalOperation.SetFontOperation, PhysicalOperation.SetPaintOperation, PhysicalOperation.SetStrokeOperation

public abstract class PhysicalOperation
extends java.lang.Object

The base class for an operation that can be applied to an OutputTarget. These operations are typically added to a PhysicalPage in the process of being sent to the output target.

Refer to the subclasses for some examples.

A sequence of operations can be stored in a Spool and replayed at any time.

Author:
Thomas Morgner

Nested Class Summary
static class PhysicalOperation.AddComment
          An operation that adds a comment to the debug log.
static class PhysicalOperation.PrintFilledShapeOperation
          An operation that draws a filled shape on an OutputTarget.
static class PhysicalOperation.PrintImageOperation
          An operation that prints an Image on an OutputTarget.
static class PhysicalOperation.PrintShapeOperation
          An operation that draws a shape on an OutputTarget.
static class PhysicalOperation.PrintTextOperation
          An operation that draws text on an OutputTarget.
static class PhysicalOperation.ProcessDrawableOperation
          An operation that processes a Drawable on an OutputTarget.
static class PhysicalOperation.SetBoundsOperation
          An operation that sets the bounds for an OutputTarget.
static class PhysicalOperation.SetFontOperation
          An operation that sets the font for an OutputTarget.
static class PhysicalOperation.SetPaintOperation
          An operation that sets the paint for an OutputTarget.
static class PhysicalOperation.SetStrokeOperation
          An operation that sets the stroke for an OutputTarget.
 
Constructor Summary
PhysicalOperation()
           
 
Method Summary
abstract  void performOperation(OutputTarget ot)
          Performs an operation on an OutputTarget.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicalOperation

public PhysicalOperation()
Method Detail

performOperation

public abstract void performOperation(OutputTarget ot)
                               throws OutputTargetException
Performs an operation on an OutputTarget.

Parameters:
ot - the output target.
Throws:
OutputTargetException - if there is a problem operating on the target.