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

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

public static class PhysicalOperation.SetBoundsOperation
extends PhysicalOperation

An operation that sets the bounds 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.SetBoundsOperation(java.awt.geom.Rectangle2D bounds)
          Creates a new 'set bounds' operation.
 
Method Summary
 void performOperation(OutputTarget ot)
          Sets the bounds for an output target.
 java.lang.String toString()
          Returns a string representing the operation, useful for debugging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PhysicalOperation.SetBoundsOperation

public PhysicalOperation.SetBoundsOperation(java.awt.geom.Rectangle2D bounds)
Creates a new 'set bounds' operation.

Parameters:
bounds - the bounds (null not permitted).
Method Detail

performOperation

public void performOperation(OutputTarget ot)
                      throws OutputTargetException
Sets the bounds 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.

toString

public java.lang.String toString()
Returns a string representing the operation, useful for debugging.

Returns:
a string.