FileDocCategorySizeDatePackage
AndroidFontProperty.javaAPI DocAndroid 1.5 API2645Wed May 06 22:41:54 BST 2009org.apache.harmony.awt.gl.font

AndroidFontProperty

public class AndroidFontProperty extends FontProperty
Android FontProperty implementation, applicable for Linux formats of font property files.

Fields Summary
String
xlfd
xlfd string that is applicable for Linux font.properties
String
logicalName
logical name of the font corresponding to this FontProperty
String
styleName
style name of the font corresponding to this FontProperty
Constructors Summary
public AndroidFontProperty(String _logicalName, String _styleName, String _fileName, String _name, String _xlfd, int _style, int[] exclusionRange, String _encoding)

        this.logicalName = _logicalName;
        this.styleName = _styleName;
        this.name = _name;
        this.encoding = _encoding;
        this.exclRange = exclusionRange;
        this.fileName = _fileName;
        this.xlfd = _xlfd;
        this.style = _style;
    
Methods Summary
public java.lang.StringgetLogicalName()
Returns logical name of the font corresponding to this FontProperty.

        return logicalName;
    
public java.lang.StringgetStyleName()
Returns style name of the font corresponding to this FontProperty.

        return styleName;
    
public java.lang.StringgetXLFD()
Returns xlfd string of this FontProperty.

        return xlfd;
    
public java.lang.StringtoString()

        return new String(this.getClass().getName() +
                "[name=" + name + //$NON-NLS-1$
                ",fileName="+ fileName + //$NON-NLS-1$
                ",Charset=" + encoding + //$NON-NLS-1$
                ",exclRange=" + exclRange + //$NON-NLS-1$
                ",xlfd=" + xlfd + "]"); //$NON-NLS-1$ //$NON-NLS-2$