程序包 weka.gui

类 LookAndFeel

java.lang.Object
weka.gui.LookAndFeel

public class LookAndFeel extends Object
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)
  • 字段详细资料

    • PROPERTY_FILE

      public static String PROPERTY_FILE
      The name of the properties file
  • 构造器详细资料

    • LookAndFeel

      public LookAndFeel()
  • 方法详细资料

    • setLookAndFeel

      public static boolean setLookAndFeel(String classname)
      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

      public static String getSystemLookAndFeel()
      returns the system LnF classname
      返回:
      the name of the System LnF class
    • getInstalledLookAndFeels

      public static String[] getInstalledLookAndFeels()
      returns an array with the classnames of all the installed LnFs
      返回:
      the installed LnFs
    • main

      public static void main(String[] args)
      prints all the available LnFs to stdout
      参数:
      args - the commandline options