org.egothor.duplicity.visualization
Class DuplicatedTokenPrinter

java.lang.Object
  extended by org.egothor.duplicity.visualization.DuplicatedTokenPrinter
All Implemented Interfaces:
Printer

public class DuplicatedTokenPrinter
extends java.lang.Object
implements Printer

Sets style for duplicate tokens. These tokens are printed in red bold font.

Author:
Kate�ina Dufkov�

Constructor Summary
DuplicatedTokenPrinter()
           
 
Method Summary
 com.lowagie.text.Chunk setStyle(com.lowagie.text.Chunk chunk)
          Sets the font weight to bold, and font color to red.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DuplicatedTokenPrinter

public DuplicatedTokenPrinter()
Method Detail

setStyle

public com.lowagie.text.Chunk setStyle(com.lowagie.text.Chunk chunk)
Sets the font weight to bold, and font color to red.

Specified by:
setStyle in interface Printer
Parameters:
chunk - text chunk to set the style to
Returns:
unchanged chunk