org.ujac.print
Class AwtFont

java.lang.Object
  extended by java.awt.Font
      extended by org.ujac.print.AwtFont
All Implemented Interfaces:
Serializable

public class AwtFont
extends Font

Name: AwtFont
Description: Special AWT Font implementation which enables proper font handling at iText PDF graphics.

Author:
lauerc
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.Font
BOLD, CENTER_BASELINE, DIALOG, DIALOG_INPUT, HANGING_BASELINE, ITALIC, LAYOUT_LEFT_TO_RIGHT, LAYOUT_NO_LIMIT_CONTEXT, LAYOUT_NO_START_CONTEXT, LAYOUT_RIGHT_TO_LEFT, MONOSPACED, name, PLAIN, pointSize, ROMAN_BASELINE, SANS_SERIF, SERIF, size, style, TRUETYPE_FONT, TYPE1_FONT
 
Constructor Summary
AwtFont(String name, int style, int size)
          Constructs a AwtFont instance with specific attributes.
 
Method Summary
 String getFontName()
          Getter method for the the property fontName.
 
Methods inherited from class java.awt.Font
canDisplay, canDisplay, canDisplayUpTo, canDisplayUpTo, canDisplayUpTo, createFont, createFont, createGlyphVector, createGlyphVector, createGlyphVector, createGlyphVector, decode, deriveFont, deriveFont, deriveFont, deriveFont, deriveFont, deriveFont, equals, finalize, getAttributes, getAvailableAttributes, getBaselineFor, getFamily, getFamily, getFont, getFont, getFont, getFontName, getItalicAngle, getLineMetrics, getLineMetrics, getLineMetrics, getLineMetrics, getMaxCharBounds, getMissingGlyphCode, getName, getNumGlyphs, getPeer, getPSName, getSize, getSize2D, getStringBounds, getStringBounds, getStringBounds, getStringBounds, getStyle, getTransform, hashCode, hasLayoutAttributes, hasUniformLineMetrics, isBold, isItalic, isPlain, isTransformed, layoutGlyphVector, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AwtFont

public AwtFont(String name,
               int style,
               int size)
Constructs a AwtFont instance with specific attributes.

Parameters:
name - The font name.
style - The font style.
size - The font size.
Method Detail

getFontName

public String getFontName()
Getter method for the the property fontName.

Overrides:
getFontName in class Font
Returns:
The current value of property fontName.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.