|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.basic.FontContainer
A class to encapsulate a container for fonts.
Field Summary | |
static int |
DEFAULT_FONT
The default font type for the panel. |
static int |
DEFAULT_FONT_SIZE
No comment provided by developer, please add a comment to improve documentation. |
protected static de.upb.tools.fca.FHashMap |
fonts
No comment provided by developer, please add a comment to improve documentation. |
static int |
JAVA_SOURCE_FONT
The font for java sources. |
Constructor Summary | |
FontContainer()
|
Method Summary | |
static java.awt.Font |
getDefaultFont()
Return the default font. |
static java.awt.Font |
getFont(int type)
Get the font attribute of the FontContainer class |
static java.awt.Font |
getFont(int type,
int size)
Get the font attribute of the FontContainer class |
static java.awt.Font |
getFont(int type,
int style,
int size)
Get the font attribute of the FontContainer class |
static java.awt.Font |
getJavaSourceFont()
Return the java source font. |
static int |
getScale()
Read access method for scale value |
static void |
setScale(int newScale)
Write access method for scale value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEFAULT_FONT
public static final int JAVA_SOURCE_FONT
public static final int DEFAULT_FONT_SIZE
protected static de.upb.tools.fca.FHashMap fonts
Constructor Detail |
public FontContainer()
Method Detail |
public static int getScale()
public static void setScale(int newScale)
newScale
- The new scale valuepublic static java.awt.Font getFont(int type, int style, int size)
type
- No description providedstyle
- No description providedsize
- No description provided
public static java.awt.Font getFont(int type, int size)
type
- No description providedsize
- No description provided
public static java.awt.Font getFont(int type)
type
- No description provided
public static java.awt.Font getDefaultFont()
public static java.awt.Font getJavaSourceFont()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |