|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.swing.ThemeUtils
public final class ThemeUtils
| Field Summary | |
|---|---|
static String |
P_Black
|
static String |
P_Control
|
static String |
P_Error
|
static String |
P_Inactive
|
static String |
P_Info
|
static String |
P_Mandatory
|
static String |
P_Menu
|
static String |
P_Primary1
|
static String |
P_Primary2
|
static String |
P_Primary3
|
static String |
P_Secondary1
|
static String |
P_Secondary2
|
static String |
P_Secondary3
|
static String |
P_Small
|
static String |
P_System
|
static String |
P_Txt_Error
|
static String |
P_Txt_OK
|
static String |
P_User
|
static String |
P_White
|
static String |
P_Window
|
| Constructor Summary | |
|---|---|
ThemeUtils()
|
|
| Method Summary | |
|---|---|
static String |
getColorAsString(Color c)
Parses Color into String representation. |
static void |
load(Properties properties,
ExtendedTheme theme)
Load Properties from properties |
static ColorUIResource |
parseColor(String information,
ColorUIResource stdColor)
Parse Color. |
static FontUIResource |
parseFont(String information,
FontUIResource stdFont)
Parse Font javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] |
static void |
save(Properties properties,
MetalTheme theme)
Save information in Properties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String P_Primary1
public static final String P_Primary2
public static final String P_Primary3
public static final String P_Secondary1
public static final String P_Secondary2
public static final String P_Secondary3
public static final String P_Black
public static final String P_White
public static final String P_Error
public static final String P_Info
public static final String P_Mandatory
public static final String P_Inactive
public static final String P_Txt_OK
public static final String P_Txt_Error
public static final String P_Control
public static final String P_System
public static final String P_User
public static final String P_Small
public static final String P_Window
public static final String P_Menu
| Constructor Detail |
|---|
public ThemeUtils()
| Method Detail |
|---|
public static String getColorAsString(Color c)
c - Color
parseColor(java.lang.String, javax.swing.plaf.ColorUIResource)
public static ColorUIResource parseColor(String information,
ColorUIResource stdColor)
Color - [r=102,g=102,b=153,a=0]
information - string information to be parsedstdColor - color used if info cannot parsed
getColorAsString(java.awt.Color)
public static FontUIResource parseFont(String information,
FontUIResource stdFont)
javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12]
information - string information to be parsedstdFont - font used if info cannot be parsed
public static void save(Properties properties,
MetalTheme theme)
public static void load(Properties properties,
ExtendedTheme theme)
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||