net.sf.dynamicreports.report.builder.style
Class FontBuilder

java.lang.Object
  extended by net.sf.dynamicreports.report.builder.AbstractBuilder<FontBuilder,DRFont>
      extended by net.sf.dynamicreports.report.builder.style.FontBuilder
All Implemented Interfaces:
Serializable

public class FontBuilder
extends AbstractBuilder<FontBuilder,DRFont>

Author:
Ricardo Mariaca (r.mariaca@dynamicreports.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.dynamicreports.report.builder.AbstractBuilder
builded
 
Constructor Summary
protected FontBuilder()
           
protected FontBuilder(String fontName, Boolean bold, Boolean italic, Integer fontSize)
           
 
Method Summary
 FontBuilder bold()
           
 FontBuilder boldItalic()
           
 DRFont getFont()
           
 FontBuilder italic()
           
 FontBuilder setBold(Boolean bold)
           
 FontBuilder setFontName(String fontName)
           
 FontBuilder setFontSize(Integer fontSize)
           
 FontBuilder setItalic(Boolean italic)
           
 FontBuilder setPdfEmbedded(Boolean pdfEmbedded)
          Deprecated. 
 FontBuilder setPdfEncoding(String pdfEncoding)
          Deprecated. 
 FontBuilder setPdfFontName(String pdfFontName)
          Deprecated. 
 FontBuilder setStrikeThrough(Boolean strikeThrough)
           
 FontBuilder setUnderline(Boolean underline)
           
 FontBuilder strikeThrough()
           
 FontBuilder underline()
           
 
Methods inherited from class net.sf.dynamicreports.report.builder.AbstractBuilder
build, configure, getObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontBuilder

protected FontBuilder()

FontBuilder

protected FontBuilder(String fontName,
                      Boolean bold,
                      Boolean italic,
                      Integer fontSize)
Method Detail

setFontName

public FontBuilder setFontName(String fontName)

setFontSize

public FontBuilder setFontSize(Integer fontSize)

bold

public FontBuilder bold()

setBold

public FontBuilder setBold(Boolean bold)

italic

public FontBuilder italic()

setItalic

public FontBuilder setItalic(Boolean italic)

boldItalic

public FontBuilder boldItalic()

setPdfEmbedded

@Deprecated
public FontBuilder setPdfEmbedded(Boolean pdfEmbedded)
Deprecated. 


setPdfEncoding

@Deprecated
public FontBuilder setPdfEncoding(String pdfEncoding)
Deprecated. 


setPdfFontName

@Deprecated
public FontBuilder setPdfFontName(String pdfFontName)
Deprecated. 


strikeThrough

public FontBuilder strikeThrough()

setStrikeThrough

public FontBuilder setStrikeThrough(Boolean strikeThrough)

underline

public FontBuilder underline()

setUnderline

public FontBuilder setUnderline(Boolean underline)

getFont

public DRFont getFont()


Copyright © 2010-2014. All Rights Reserved.