de.intarsys.cwt.font
Class FontQuery

java.lang.Object
  extended by de.intarsys.cwt.font.FontQuery
All Implemented Interfaces:
IFontQuery

public class FontQuery
extends java.lang.Object
implements IFontQuery


Constructor Summary
FontQuery()
           
FontQuery(java.lang.String fontName)
           
FontQuery(java.lang.String family, FontStyle style)
           
FontQuery(java.lang.String family, java.lang.String style)
           
 
Method Summary
 java.lang.String getFontFamilyName()
          The desired font family for the IFont.
 java.lang.String getFontName()
          The desired font name for the IFont.
 java.lang.Object getFontNameCanonical()
          The desired font name for the IFont.
 FontStyle getFontStyle()
          The desired font style for the IFont.
 java.lang.String getFontType()
          The desired font type for the IFont (such as "Type1" or "TrueType").
 void setFontFamilyName(java.lang.String fontFamilyName)
           
 void setFontName(java.lang.String fontName)
           
 void setFontStyle(FontStyle fontStyle)
           
 void setFontType(java.lang.String fontType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontQuery

public FontQuery()

FontQuery

public FontQuery(java.lang.String fontName)

FontQuery

public FontQuery(java.lang.String family,
                 FontStyle style)

FontQuery

public FontQuery(java.lang.String family,
                 java.lang.String style)
Method Detail

getFontFamilyName

public java.lang.String getFontFamilyName()
Description copied from interface: IFontQuery
The desired font family for the IFont.

Specified by:
getFontFamilyName in interface IFontQuery
Returns:
The desired font family for the IFont.

getFontName

public java.lang.String getFontName()
Description copied from interface: IFontQuery
The desired font name for the IFont.

Specified by:
getFontName in interface IFontQuery
Returns:
The desired font name for the IFont.

getFontNameCanonical

public java.lang.Object getFontNameCanonical()
Description copied from interface: IFontQuery
The desired font name for the IFont.

Specified by:
getFontNameCanonical in interface IFontQuery
Returns:
The desired font name for the IFont.

getFontStyle

public FontStyle getFontStyle()
Description copied from interface: IFontQuery
The desired font style for the IFont.

Specified by:
getFontStyle in interface IFontQuery
Returns:
The desired font style for the IFont.

getFontType

public java.lang.String getFontType()
Description copied from interface: IFontQuery
The desired font type for the IFont (such as "Type1" or "TrueType"). nullindicates a font of any type.

Specified by:
getFontType in interface IFontQuery
Returns:
The desired font type for the IFont.

setFontFamilyName

public void setFontFamilyName(java.lang.String fontFamilyName)

setFontName

public void setFontName(java.lang.String fontName)

setFontStyle

public void setFontStyle(FontStyle fontStyle)

setFontType

public void setFontType(java.lang.String fontType)