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

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

public static class PhysicalOperation.SetFontOperation
extends PhysicalOperation

An operation that sets the font 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.SetFontOperation(FontDefinition font)
          Creates a new 'set font' operation.
 
Method Summary
 void performOperation(OutputTarget ot)
          Performs the operation, in this case setting the font for the output target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicalOperation.SetFontOperation

public PhysicalOperation.SetFontOperation(FontDefinition font)
Creates a new 'set font' operation.

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

performOperation

public void performOperation(OutputTarget ot)
                      throws OutputTargetException
Performs the operation, in this case setting the font for the 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.