|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.common.swing.LookAndFeelUtil
public class LookAndFeelUtil
LookAndFeelUtil declares the Choices and actions needed to dynamically change the look and feel (PLAF) and to add new PLAFs without needing to restart.
Distribution Licence: JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA The copyright to this program is held by it's authors. |
Licence
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 | |
---|---|
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 |
---|
private static Class currentLAF
private static Class defaultLAF
Constructor Detail |
---|
private LookAndFeelUtil()
Method Detail |
---|
public static void initialize()
public static Class getLookAndFeel()
public static void setLookAndFeel(Class newLaFClass) throws InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException
InstantiationException
IllegalAccessException
UnsupportedLookAndFeelException
|
Copyright ? 2003-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |