public class WebFonts
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LUCIDA_GRANDE
Mac OS X fonts.
|
static java.lang.String |
SANS_SERIF
Unix fonts.
|
static java.lang.String |
SEGOE_UI |
static java.lang.String |
TAHOMA
Windows fonts.
|
| Constructor and Description |
|---|
WebFonts() |
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.plaf.FontUIResource |
getSystemAcceleratorFont()
Returns system accelerator font.
|
static javax.swing.plaf.FontUIResource |
getSystemAlertFont()
Returns system alert dialog font.
|
static javax.swing.plaf.FontUIResource |
getSystemControlFont()
Returns system controls font.
|
static javax.swing.plaf.FontUIResource |
getSystemMenuFont()
Returns system menu font.
|
static javax.swing.plaf.FontUIResource |
getSystemTextFont()
Returns system text font.
|
static javax.swing.plaf.FontUIResource |
getSystemTitleFont()
Returns system title font.
|
static javax.swing.plaf.FontUIResource |
getSystemTooltipFont()
Returns system tooltip font.
|
public static final java.lang.String TAHOMA
public static final java.lang.String SEGOE_UI
public static final java.lang.String LUCIDA_GRANDE
public static final java.lang.String SANS_SERIF
public static javax.swing.plaf.FontUIResource getSystemControlFont()
public static javax.swing.plaf.FontUIResource getSystemAlertFont()
public static javax.swing.plaf.FontUIResource getSystemMenuFont()
public static javax.swing.plaf.FontUIResource getSystemAcceleratorFont()
public static javax.swing.plaf.FontUIResource getSystemTitleFont()
public static javax.swing.plaf.FontUIResource getSystemTextFont()
public static javax.swing.plaf.FontUIResource getSystemTooltipFont()