Package ru.bitel.common.client
Class LookAndFeelUtils
java.lang.Object
ru.bitel.common.client.LookAndFeelUtils
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
minFontSize
(int size) static void
static void
setFontSize
(float size, FontUIResource defaultFont) static void
setFontSize
(String key, float size, FontUIResource defaultFont) static void
static void
static void
static void
static void
setTheme
(LookAndFeelUtils.LookAndFeelTheme t, Component component) static void
updateOnChangeLookAndFeel
(Container container)
-
Field Details
-
DEFAULT_HEIGHT
public static final int DEFAULT_HEIGHT- See Also:
-
BUTTON_HEIGHT
-
COMBO_HEIGHT
-
-
Constructor Details
-
LookAndFeelUtils
public LookAndFeelUtils()
-
-
Method Details
-
addLookAndFeelTheme
-
getLookAndFeelThemeList
-
getLookAndFeelThemeList
public static List<LookAndFeelUtils.LookAndFeelTheme> getLookAndFeelThemeList(Comparator<LookAndFeelUtils.LookAndFeelTheme> comp) -
setTheme
- Throws:
Exception
-
setTheme
public static void setTheme(LookAndFeelUtils.LookAndFeelTheme t, Component component) throws Exception - Throws:
Exception
-
getTheme
-
setTheme
- Throws:
Exception
-
setTheme
- Throws:
Exception
-
getCurrent
-
main
-
setFont
-
setFontSize
-
setFontSize
-
setStyle
-
minFontSize
public static void minFontSize(int size) -
updateOnChangeLookAndFeel
-