|
Oracle Outside In Java API Reference 8.5.4 F11002-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.outsidein.options.FontInfo
public class FontInfo
Contains information describing a font's name and height attribute.
OptionsCache.setDefaultRenderFont(FontInfo)
Constructor Summary | |
---|---|
FontInfo() Creates a default FontInfo object initialized to 10 point Arial. |
|
FontInfo(java.lang.String fontface, int height) Creates a FontInfo object with the given font face name and the given height. |
Method Summary | |
---|---|
java.lang.String |
getFontFace() Obtains the name of the font. |
int |
getHeight() Obtains the size of the font in half points. |
void |
setFontFace(java.lang.String value) Assigns the name of the font. |
void |
setHeight(int value) Assigns the size of the font in half points. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontInfo()
FontInfo
object initialized to 10 point Arial.public FontInfo(java.lang.String fontface, int height)
FontInfo
object with the given font face name and the given height.
fontface
- the name of the fontheight
- the size of the font in half pointsMethod Detail |
---|
public java.lang.String getFontFace()
public void setFontFace(java.lang.String value)
value
- the name of the fontpublic int getHeight()
public void setHeight(int value)
value
- the size of the font in half points
|
Oracle Outside In Java API Reference 8.5.4 F11002-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |