public class FontUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TTF_RESOURCE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static Font |
createElegantIconFont() |
static String |
elegantIconHtml(String iconRef)
Generates HTML text with embedded Elegant Icon Font.
|
static String |
elegantIconHtml(String iconRef,
String text)
Generates HTML text with embedded Elegant Icon Font.
|
static JLabel |
toLinkText(JLabel label) |
public static final String TTF_RESOURCE_NAME
public static Font createElegantIconFont() throws IOException, FontFormatException
IOExceptionFontFormatExceptionpublic static String elegantIconHtml(String iconRef)
iconRef - HTML numeric character reference of the iconCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.