| Modifier and Type | Class and Description |
|---|---|
protected static class |
FontSelector.SimpleFontsDialog |
| Modifier and Type | Field and Description |
|---|---|
static String |
border |
static String |
button |
static String |
checkBox |
static String |
comboBox |
protected static FontSelector.SimpleFontsDialog |
dF |
static String |
label |
static String |
list |
static String |
menu |
static String |
menuBar |
static String |
menuItem |
static String |
menuItemCheck |
static String |
menuItemRadio |
static String |
menuPopup |
static String |
optionPane |
static String |
panel |
static String |
panelTabs |
static String |
radioButton |
static String |
spinner |
static String |
table |
static String |
tableHeader |
static String |
textArea |
static String |
textField |
static String |
toggleButton |
static String |
tree |
static String |
viewport |
| Constructor and Description |
|---|
FontSelector(Frame parentFrame) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
void |
free()
Makes the object to release the resources.
|
static Font |
getCurrentFont() |
static void |
setApplicationFont(Application application,
Font font) |
static void |
setApplicationFontSize(Application application,
int size) |
static void |
setDialogFont(Dialog dialog,
Font font) |
static void |
setFrameFont(Frame applicationFrame,
Font font) |
static void |
setUIManagerFontSize(int size) |
Font |
showAvaliableFonts(boolean supportingEuro) |
static Font |
showFontSelector(Frame parentFrame,
String title)
Show the font selector and returns the selected font or null if no font
has been selected
|
static Font |
showFontSelector(Frame parentFrame,
String title,
ResourceBundle res) |
static Font |
showFontSelector(Frame parentFrame,
String title,
ResourceBundle res,
Font font) |
static boolean |
supportsEuroSymbol(Font f) |
public static final String checkBox
public static final String tree
public static final String toggleButton
public static final String menuItemRadio
public static final String menuItem
public static final String menu
public static final String panel
public static final String textArea
public static final String viewport
public static final String tableHeader
public static final String textField
public static final String optionPane
public static final String menuBar
public static final String button
public static final String label
public static final String list
public static final String table
public static final String panelTabs
public static final String radioButton
public static final String menuItemCheck
public static final String menuPopup
public static final String border
public static final String comboBox
public static final String spinner
protected static FontSelector.SimpleFontsDialog dF
public FontSelector(Frame parentFrame)
public Font showAvaliableFonts(boolean supportingEuro)
public static Font showFontSelector(Frame parentFrame, String title)
parentFrame - title - public static Font showFontSelector(Frame parentFrame, String title, ResourceBundle res)
public static Font showFontSelector(Frame parentFrame, String title, ResourceBundle res, Font font)
public void free()
throws Exception
Freeableprotected void finalize()
throws Throwable
public static boolean supportsEuroSymbol(Font f)
public static void setApplicationFont(Application application, Font font)
public static Font getCurrentFont()
public static void setApplicationFontSize(Application application, int size)
public static void setUIManagerFontSize(int size)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.