|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpicedt.ui.LAFManager
public class LAFManager
LAF management : maintains a list of installed LAF, and handles LAF loading.
Field Summary | |
---|---|
static String |
KEY_LAF
key used to fetch the LAF name from the Properties (see init) |
Constructor Summary | |
---|---|
LAFManager()
|
Method Summary | |
---|---|
static String |
getCurrentLafName()
|
static String |
getDefaultLafName()
|
static String[] |
getInstalledLookAndFeelsNames()
|
static void |
updateLaf()
Init LAF from the given Properties using key=KEY_LAF and value = LAF name (as returned by LookAndFeelInfo.getName()). |
static void |
updateLaf(String lafName)
set current LAF from the given LAF name |
static void |
updateLafFromClassName(String className)
Set the LAF from the given class name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String KEY_LAF
Constructor Detail |
---|
public LAFManager()
Method Detail |
---|
public static String getCurrentLafName()
public static String getDefaultLafName()
public static String[] getInstalledLookAndFeelsNames()
public static void updateLaf()
public static void updateLaf(String lafName)
lafName
- one of the predefined LAF names, e.g. "CDE/Motif" or "Metal"public static void updateLafFromClassName(String className)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |