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

java.lang.Object
  |
  +--com.jrefinery.report.targets.pageable.operations.PhysicalOperation
        |
        +--com.jrefinery.report.targets.pageable.operations.PhysicalOperation.PrintTextOperation
Enclosing class:
PhysicalOperation

public static class PhysicalOperation.PrintTextOperation
extends PhysicalOperation

An operation that draws text on 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.PrintTextOperation(java.lang.String text)
          Creates a new 'print text' operation.
 
Method Summary
 void performOperation(OutputTarget ot)
          Draws text on an output target.
 java.lang.String toString()
          Returns a String representation of the operation, which can be useful for debugging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PhysicalOperation.PrintTextOperation

public PhysicalOperation.PrintTextOperation(java.lang.String text)
Creates a new 'print text' operation.

Parameters:
text - the text.
Method Detail

performOperation

public void performOperation(OutputTarget ot)
                      throws OutputTargetException
Draws text on 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 representation of the operation, which can be useful for debugging.

Overrides:
toString in class java.lang.Object
Returns:
a string.