Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.crosswire.common.swing
Class LookAndFeelUtil

    java.lang.Object
      org.crosswire.common.swing.LookAndFeelUtil

    public final class LookAndFeelUtil

extends Object

LookAndFeelUtil declares the Choices and actions needed to dynamically change the look and feel (PLAF) and to add new PLAFs without needing to restart.

Author:
  Joe Walker [joe at eireneh dot com], Mark Goodwin [mark at thorubio dot org], DM Smith [dmsmith555 at yahoo dot com], Willie Thean [williethean at yahoo dot com]
See Also:
  `for license details. The copyright to this program is held by it's authors.`

Field Summary
`private static Class` | `currentLAF` The current PLAF
`private static Class` | `defaultLAF` The default PLAF (and the default value)

Constructor Summary
`private` | `LookAndFeelUtil()` Prevent Instansiation

Method Summary
`private static void` | `customizeBDLookandFeel()`
`static Class` | `getLookAndFeel()` The Options customization
`static void` | `initialize()` Establish the system look and feel
`static void` | `setLookAndFeel(Class newLaFClass)` Set the look and feel to a new class.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### currentLAF

    private static Class currentLAF

  The current PLAF

### defaultLAF

    private static Class defaultLAF

  The default PLAF (and the default value)

Constructor Detail

### LookAndFeelUtil

    private LookAndFeelUtil()

  Prevent Instansiation

Method Detail

### initialize

    public static void initialize()

  Establish the system look and feel

### getLookAndFeel

    public static Class getLookAndFeel()

  The Options customization

### setLookAndFeel

    public static void setLookAndFeel(Class newLaFClass)
                               throws InstantiationException,
                                      IllegalAccessException,
                                      UnsupportedLookAndFeelException

  Set the look and feel to a new class.

  Throws:
    `InstantiationException`
    `IllegalAccessException`
    `UnsupportedLookAndFeelException`

### customizeBDLookandFeel

    private static void customizeBDLookandFeel()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ? 2003-2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD