edu.rice.cs.drjava.config
Class OptionConstants.LookAndFeels
java.lang.Object
edu.rice.cs.drjava.config.OptionConstants.LookAndFeels
- Enclosing interface:
- OptionConstants
public static class OptionConstants.LookAndFeels
- extends java.lang.Object
Class that allows the look and feels to be initialized properly.
|
Method Summary |
static java.lang.String |
getDefaultLookAndFeel()
Return the look-and-feel to use by default |
static java.util.ArrayList<java.lang.String> |
getLookAndFeels()
Need to ensure that a look-and-feel can be instantiated and is valid. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_registerLAFs
private static java.lang.String[][] _registerLAFs
_registered
private static boolean _registered
OptionConstants.LookAndFeels
public OptionConstants.LookAndFeels()
getDefaultLookAndFeel
public static java.lang.String getDefaultLookAndFeel()
- Return the look-and-feel to use by default
getLookAndFeels
public static java.util.ArrayList<java.lang.String> getLookAndFeels()
- Need to ensure that a look-and-feel can be instantiated and is valid.
TODO: store the LookAndFeel object rather than its classname. This would be much nicer, as we could display a
useful name, and wouldn't have to reinstantiate it when it's installed.
- Returns:
- the list of available look-and-feel classnames