com.jrefinery.report.io.simple
Class FontFactory.FontInformation

java.lang.Object
  extended bycom.jrefinery.report.io.simple.FontFactory.FontInformation
Enclosing class:
FontFactory

public static class FontFactory.FontInformation
extends java.lang.Object

The FontInformation class is used to store the font definition, until it can be applied to a stylesheet. Parameters that are not defined, are null.


Constructor Summary
FontFactory.FontInformation()
          Creates a new FontInformation.
 
Method Summary
 java.lang.Boolean getBold()
          Gets the bold flag or null, if this flag is undefined.
 java.lang.Boolean getEmbedded()
          Gets the underlined flag or null, if this flag is undefined.
 java.lang.String getFontencoding()
          Returns the defined character encoding for this font, or null, if no encoding is defined.
 java.lang.String getFontname()
          Gets the font name or null, if no font name is defined.
 java.lang.Integer getFontSize()
          Gets the font size or null, if no font size is defined.
 java.lang.Boolean getItalic()
          Gets the italic flag or null, if this flag is undefined.
 java.lang.Float getLineHeight()
          Returns the line height for this font, or null, if the line height is undefined.
 java.lang.Boolean getStrikeThrough()
          Gets the strikeThrough flag or null, if this flag is undefined.
 java.lang.Boolean getUnderlined()
          Gets the underlined flag or null, if this flag is undefined.
 void setBold(java.lang.Boolean bold)
          Defines the bold flag or set to null, to indicate that this flag is undefined.
 void setEmbedded(java.lang.Boolean embedded)
          Defines the embedded flag or set to null, to indicate that this flag is undefined.
 void setFontencoding(java.lang.String fontencoding)
          Defines the character encoding for this font, or null, if no encoding is defined.
 void setFontname(java.lang.String fontname)
          Defines the font name or set to null, to indicate that no font name is defined.
 void setFontSize(java.lang.Integer fontSize)
          Defines the font size or set to null, to indicate that no font size is defined.
 void setItalic(java.lang.Boolean italic)
          Defines the italic flag or set to null, to indicate that this flag is undefined.
 void setLineHeight(java.lang.Float lineHeight)
          Defines the line height for this font, or null, if the line height is undefined.
 void setStrikeThrough(java.lang.Boolean strikeThrough)
          Defines the strikeThrough flag or set to null, to indicate that this flag is undefined.
 void setUnderlined(java.lang.Boolean underlined)
          Defines the underlined flag or set to null, to indicate that this flag is undefined.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontFactory.FontInformation

public FontFactory.FontInformation()
Creates a new FontInformation.

Method Detail

getFontname

public java.lang.String getFontname()
Gets the font name or null, if no font name is defined.

Returns:
the font name or null.

setFontname

public void setFontname(java.lang.String fontname)
Defines the font name or set to null, to indicate that no font name is defined.

Parameters:
fontname - the defined font name or null.

getFontSize

public java.lang.Integer getFontSize()
Gets the font size or null, if no font size is defined.

Returns:
the font size or null.

setFontSize

public void setFontSize(java.lang.Integer fontSize)
Defines the font size or set to null, to indicate that no font size is defined.

Parameters:
fontSize - the defined font size or null.

getBold

public java.lang.Boolean getBold()
Gets the bold flag or null, if this flag is undefined.

Returns:
the bold flag or null.

setBold

public void setBold(java.lang.Boolean bold)
Defines the bold flag or set to null, to indicate that this flag is undefined.

Parameters:
bold - the defined bold flag or null.

getItalic

public java.lang.Boolean getItalic()
Gets the italic flag or null, if this flag is undefined.

Returns:
the italic flag or null.

setItalic

public void setItalic(java.lang.Boolean italic)
Defines the italic flag or set to null, to indicate that this flag is undefined.

Parameters:
italic - the defined italic flag or null.

getStrikeThrough

public java.lang.Boolean getStrikeThrough()
Gets the strikeThrough flag or null, if this flag is undefined.

Returns:
the strikeThrough flag or null.

setStrikeThrough

public void setStrikeThrough(java.lang.Boolean strikeThrough)
Defines the strikeThrough flag or set to null, to indicate that this flag is undefined.

Parameters:
strikeThrough - the defined strikeThrough flag or null.

getUnderlined

public java.lang.Boolean getUnderlined()
Gets the underlined flag or null, if this flag is undefined.

Returns:
the underlined flag or null.

setUnderlined

public void setUnderlined(java.lang.Boolean underlined)
Defines the underlined flag or set to null, to indicate that this flag is undefined.

Parameters:
underlined - the defined underlined flag or null.

getEmbedded

public java.lang.Boolean getEmbedded()
Gets the underlined flag or null, if this flag is undefined.

Returns:
the underlined flag or null.

setEmbedded

public void setEmbedded(java.lang.Boolean embedded)
Defines the embedded flag or set to null, to indicate that this flag is undefined.

Parameters:
embedded - the defined embedded flag or null.

getFontencoding

public java.lang.String getFontencoding()
Returns the defined character encoding for this font, or null, if no encoding is defined.

Returns:
the defined character encoding or null.

setFontencoding

public void setFontencoding(java.lang.String fontencoding)
Defines the character encoding for this font, or null, if no encoding is defined.

Parameters:
fontencoding - the character encoding or null.

getLineHeight

public java.lang.Float getLineHeight()
Returns the line height for this font, or null, if the line height is undefined.

Returns:
the defined line height or null.

setLineHeight

public void setLineHeight(java.lang.Float lineHeight)
Defines the line height for this font, or null, if the line height is undefined.

Parameters:
lineHeight - the defined line height or null.