|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.gui.LookAndFeel
public class LookAndFeel
A little helper class for setting the Look and Feel of the user interface. Was necessary, since Java 1.5 sometimes crashed the WEKA GUI (e.g. under Linux/Gnome). Running this class from the commandline will print all available Look and Feel themes.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_FILE
The name of the properties file |
Constructor Summary | |
---|---|
LookAndFeel()
|
Method Summary | |
---|---|
static java.lang.String[] |
getInstalledLookAndFeels()
returns an array with the classnames of all the installed LnFs |
static java.lang.String |
getSystemLookAndFeel()
returns the system LnF classname |
static void |
main(java.lang.String[] args)
prints all the available LnFs to stdout |
static boolean |
setLookAndFeel()
sets the look and feel to the one in the props-file or if not set the default one of the system |
static boolean |
setLookAndFeel(java.lang.String classname)
sets the look and feel to the specified class |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String PROPERTY_FILE
Constructor Detail |
---|
public LookAndFeel()
Method Detail |
---|
public static boolean setLookAndFeel(java.lang.String classname)
classname
- the look and feel to use
public static boolean setLookAndFeel()
public static java.lang.String getSystemLookAndFeel()
public static java.lang.String[] getInstalledLookAndFeels()
public static void main(java.lang.String[] args)
args
- the commandline options
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |