|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rssowl.util.shop.FontShop
public class FontShop
Factory class for some Font / -style concerns in RSSOwl
| Field Summary | |
|---|---|
static Font |
dialogBoldFont
Dialog bold font |
static Font |
dialogFont
Font for the Dialogs |
static Font |
headerBoldFont
Bold Font for the ViewForm headers and TabItem titles |
static Font |
headerFont
Font for the ViewForm headers and TabItem titles |
static Font |
tableBoldFont
Bold Font for the table holding news |
static Font |
tableFont
Font for the table holding news |
static Font |
textBoldFont
Bold font for the Text |
static Font |
textFont
Font for the newstext |
static Font |
treeBoldFont
Font for the tree holding favorites (Bold) |
static Font |
treeFont
Font for the tree holding favorites |
| Constructor Summary | |
|---|---|
private |
FontShop()
This utility class constructor is hidden |
| Method Summary | |
|---|---|
private static Font |
createBoldFont(Font sourceFont)
Create a new Font using the given one and making it Bold |
static Font |
createFont()
Create a Font using the system font |
static Font |
createFont(int height)
Create a Font from the given height |
static Font |
createFont(int height,
int style)
Create a Font from the given height and style |
static Font |
createFont(java.lang.String name,
int height,
int style)
Create a Font from the given name, height and style |
static void |
disposeFonts()
Dispose fonts |
static FontData[] |
getFontData()
Get the FontData array using the given Font information on the system font fontdata |
static FontData[] |
getFontData(int height)
Get the FontData array using the given Font information on the system font fontdata |
static FontData[] |
getFontData(java.lang.String name,
int height,
int style)
Get the FontData array using the given Font information on the system font fontdata |
private static void |
initStyledFonts()
Init all styled (bold) fonts |
static boolean |
isset(Font font)
Check the given Font for being NULL or disposed. |
static void |
setFontForAll(GUI rssOwlGui)
Update fonts for all controls in RSSOwl |
static void |
updateFonts()
Update styled fonts and the dialog font used by JFace dialogs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static Font dialogBoldFont
public static Font dialogFont
public static Font headerBoldFont
public static Font headerFont
public static Font tableBoldFont
public static Font tableFont
public static Font textBoldFont
public static Font textFont
public static Font treeBoldFont
public static Font treeFont
| Constructor Detail |
|---|
private FontShop()
| Method Detail |
|---|
public static Font createFont()
public static Font createFont(int height)
height - The height of the new Font
public static Font createFont(int height,
int style)
height - The height of the new Fontstyle - The style of the new Font
public static Font createFont(java.lang.String name,
int height,
int style)
name - The name of the new Fontheight - The height of the new Fontstyle - The style of the new Font
public static void disposeFonts()
public static FontData[] getFontData()
public static FontData[] getFontData(int height)
height - The height of the Font
public static FontData[] getFontData(java.lang.String name,
int height,
int style)
name - The name of the Fontheight - The height of the Fontstyle - The style of the Font
public static boolean isset(Font font)
font - The font to check
public static void setFontForAll(GUI rssOwlGui)
rssOwlGui - The maincontrollerpublic static void updateFonts()
private static Font createBoldFont(Font sourceFont)
sourceFont - The source Font object
private static void initStyledFonts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||