| java.lang.Object com.javelin.swinglets.SFont
SFont | public class SFont (Code) | | SFont is used to cache fonts.
author: Robin Sharp |
Constructor Summary | |
protected | SFont(String name, int style, int size) Construct a fully qualified SFont. |
BIG | final public static int BIG(Code) | | Style BIG
|
BOLD | final public static int BOLD(Code) | | Style BOLD
|
HEADING1 | final public static int HEADING1(Code) | | Style HEADING1
|
ITALIC | final public static int ITALIC(Code) | | Style ITALIC
|
MONOSPACED | final public static int MONOSPACED(Code) | | Style MONOSPACED
|
PLAIN | final public static int PLAIN(Code) | | Style PLAIN
|
SMALL | final public static int SMALL(Code) | | Style SMALL
|
STRIKE | final public static int STRIKE(Code) | | Style STRIKE
|
UNDERLINED | final public static int UNDERLINED(Code) | | Style UNDERLINED
|
phrase | protected int phrase(Code) | | |
style | protected int style(Code) | | |
SFont | protected SFont(String name, int style, int size)(Code) | | Construct a fully qualified SFont.
|
getFont | public static synchronized SFont getFont(String fontName, int style, int size)(Code) | | Get a cached font
|
getSize | public int getSize()(Code) | | Get the SFont Size.
|
getStyle | public int getStyle()(Code) | | Get the SFont Style.
|
isBig | public boolean isBig()(Code) | | |
isBold | public boolean isBold()(Code) | | |
isHeading1 | public boolean isHeading1()(Code) | | |
isItalic | public boolean isItalic()(Code) | | |
isMonoSpaced | public boolean isMonoSpaced()(Code) | | |
isPlain | public boolean isPlain()(Code) | | |
isSmall | public boolean isSmall()(Code) | | |
isStrike | public boolean isStrike()(Code) | | |
isUnderlined | public boolean isUnderlined()(Code) | | |
|
|