public class Fonts
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
dialogFontTag(java.lang.String text)
Puts an HTML font tag for the Dialog Font around the specified text.
|
static java.lang.String |
emphasizedDialogFontTag(java.lang.String text)
Puts an HTML font tag for the Emphasized Dialog Font around the specified text.
|
static java.awt.Font |
getApplicationFont()
If your application creates text documents, use the application font as
the default for user-created content.
|
static java.awt.Font |
getDialogFont()
The dialog font is used for text in menus, modeless dialogs, and titles
of document windows.
|
static java.awt.Font |
getEmphasizedDialogFont()
Use emphasized dialog fonts sparingly.
|
static java.awt.Font |
getEmphasizedSmallDialogFont()
You might use emphasized small dialog font to title a group of settings
that appear without a group box, or for brief informative text below a
text field.
|
static java.awt.Font |
getLabelFont()
The label font is used for labels with controls such as sliders and icon
bevel buttons.
|
static java.awt.Font |
getMiniDialogFont()
If necessary, the mini dialog font can be used for utility window labels
and text.
|
static java.awt.Font |
getMonospaceFont()
If your application needs monospaced fonts, use the monospace font.
|
static java.awt.Font |
getSmallDialogFont()
The small dialog font is used for informative text in alerts.
|
static java.lang.String |
smallDialogFontTag(java.lang.String text)
Puts an HTML font tag for the Small Dialog Font around the specified text.
|
public static java.awt.Font getDialogFont()
public static java.awt.Font getEmphasizedDialogFont()
public static java.awt.Font getSmallDialogFont()
public static java.awt.Font getEmphasizedSmallDialogFont()
public static java.awt.Font getApplicationFont()
public static java.awt.Font getMonospaceFont()
public static java.awt.Font getLabelFont()
public static java.awt.Font getMiniDialogFont()
public static java.lang.String dialogFontTag(java.lang.String text)
public static java.lang.String smallDialogFontTag(java.lang.String text)
public static java.lang.String emphasizedDialogFontTag(java.lang.String text)