public class LookAndFeelUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LookAndFeelUtils.LookAndFeelTheme |
Modifier and Type | Field and Description |
---|---|
static java.util.concurrent.atomic.AtomicInteger |
BUTTON_HEIGHT |
static java.util.concurrent.atomic.AtomicInteger |
COMBO_HEIGHT |
static int |
DEFAULT_HEIGHT |
Constructor and Description |
---|
LookAndFeelUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addLookAndFeelTheme(LookAndFeelUtils.LookAndFeelTheme t) |
static LookAndFeelUtils.LookAndFeelTheme |
getCurrent() |
static java.util.List<LookAndFeelUtils.LookAndFeelTheme> |
getLookAndFeelThemeList() |
static java.util.List<LookAndFeelUtils.LookAndFeelTheme> |
getLookAndFeelThemeList(java.util.Comparator<LookAndFeelUtils.LookAndFeelTheme> comp) |
static LookAndFeelUtils.LookAndFeelTheme |
getTheme(java.lang.String lafName,
java.lang.String themeName) |
static void |
main(java.lang.String[] args) |
static void |
minFontSize(int size) |
static void |
setFont(java.awt.Font myFont) |
static void |
setFontSize(float size,
javax.swing.plaf.FontUIResource defaultFont) |
static void |
setFontSize(java.lang.String key,
float size,
javax.swing.plaf.FontUIResource defaultFont) |
static void |
setStyle(java.lang.String key,
int style) |
static void |
setTheme(LookAndFeelUtils.LookAndFeelTheme t) |
static void |
setTheme(LookAndFeelUtils.LookAndFeelTheme t,
java.awt.Component component) |
static void |
setTheme(java.lang.String lafName,
java.lang.String themeName) |
static void |
setTheme(java.lang.String lafName,
java.lang.String themeName,
java.awt.Component component) |
static void |
updateOnChangeLookAndFeel(java.awt.Container container) |
public static final int DEFAULT_HEIGHT
public static java.util.concurrent.atomic.AtomicInteger BUTTON_HEIGHT
public static java.util.concurrent.atomic.AtomicInteger COMBO_HEIGHT
public static void addLookAndFeelTheme(LookAndFeelUtils.LookAndFeelTheme t)
public static java.util.List<LookAndFeelUtils.LookAndFeelTheme> getLookAndFeelThemeList()
public static java.util.List<LookAndFeelUtils.LookAndFeelTheme> getLookAndFeelThemeList(java.util.Comparator<LookAndFeelUtils.LookAndFeelTheme> comp)
public static void setTheme(LookAndFeelUtils.LookAndFeelTheme t) throws java.lang.Exception
java.lang.Exception
public static void setTheme(LookAndFeelUtils.LookAndFeelTheme t, java.awt.Component component) throws java.lang.Exception
java.lang.Exception
public static LookAndFeelUtils.LookAndFeelTheme getTheme(java.lang.String lafName, java.lang.String themeName)
public static void setTheme(java.lang.String lafName, java.lang.String themeName, java.awt.Component component) throws java.lang.Exception
java.lang.Exception
public static void setTheme(java.lang.String lafName, java.lang.String themeName) throws java.lang.Exception
java.lang.Exception
public static LookAndFeelUtils.LookAndFeelTheme getCurrent()
public static void main(java.lang.String[] args)
public static void setFont(java.awt.Font myFont)
public static void setFontSize(float size, javax.swing.plaf.FontUIResource defaultFont)
public static void setFontSize(java.lang.String key, float size, javax.swing.plaf.FontUIResource defaultFont)
public static void setStyle(java.lang.String key, int style)
public static void minFontSize(int size)
public static void updateOnChangeLookAndFeel(java.awt.Container container)