程序包 weka.gui
类 LookAndFeel
java.lang.Object
weka.gui.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.
- 版本:
- $Revision: 7059 $
- 作者:
- FracPete (fracpete at waikato dot ac dot nz)
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static String[]
returns an array with the classnames of all the installed LnFsstatic String
returns the system LnF classnamestatic void
prints all the available LnFs to stdoutstatic boolean
sets the look and feel to the one in the props-file or if not set the default one of the systemstatic boolean
setLookAndFeel
(String classname) sets the look and feel to the specified class
-
字段详细资料
-
PROPERTY_FILE
The name of the properties file
-
-
构造器详细资料
-
LookAndFeel
public LookAndFeel()
-
-
方法详细资料
-
setLookAndFeel
sets the look and feel to the specified class- 参数:
classname
- the look and feel to use- 返回:
- whether setting was successful
-
setLookAndFeel
public 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- 返回:
- whether setting was successful
-
getSystemLookAndFeel
returns the system LnF classname- 返回:
- the name of the System LnF class
-
getInstalledLookAndFeels
returns an array with the classnames of all the installed LnFs- 返回:
- the installed LnFs
-
main
prints all the available LnFs to stdout- 参数:
args
- the commandline options
-