public class FontSetup extends EncodableObject
Modifier and Type | Field and Description |
---|---|
int |
fontHeight |
int |
screenHeight |
int |
screenWidth |
Constructor and Description |
---|
FontSetup() |
Modifier and Type | Method and Description |
---|---|
FontMetrics |
applyTo(Dimension d,
FontMetrics baseFont) |
boolean |
isValid() |
FontSetup |
setTo(Dimension d,
FontMetrics theChosenFont) |
FontSetup |
validate() |
decode, decoded, decoded, decodeFields, decodeFields, encode, encoded, encoded, encodeFields, encodeFields, textDecode, textEncode
_getFieldType, _getSetField, cache, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getMyFieldList, getNew
public int screenWidth
public int screenHeight
public int fontHeight
public FontSetup validate()
public boolean isValid()
public FontMetrics applyTo(Dimension d, FontMetrics baseFont)
public FontSetup setTo(Dimension d, FontMetrics theChosenFont)