AndroidFontPropertypublic class AndroidFontProperty extends FontProperty Android FontProperty implementation, applicable for Linux formats of
font property files. |
Fields Summary |
---|
String | xlfdxlfd string that is applicable for Linux font.properties | String | logicalNamelogical name of the font corresponding to this FontProperty | String | styleNamestyle 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.String | getLogicalName()Returns logical name of the font corresponding to this FontProperty.
return logicalName;
| public java.lang.String | getStyleName()Returns style name of the font corresponding to this FontProperty.
return styleName;
| public java.lang.String | getXLFD()Returns xlfd string of this FontProperty.
return xlfd;
| public java.lang.String | toString()
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$
|
|