|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.util.gui.SetupLookAndFeel
public class SetupLookAndFeel
Class SetupLookAndFeel has a constructor that sets up the "look & feel" for the applet. Creating an object of this class at the top of a class definition causes all objects created afterward to have to desired "look & feel". (Putting the 'UIManager.setLookAndFeel()' call into a 'static' block only works the first time an applet is started in a given browser.)
Constructor Summary | |
---|---|
SetupLookAndFeel()
Set the current default look and feel to the native systems look and feel if there is one, otherwise the default cross platform look and feel. |
|
SetupLookAndFeel(boolean nativeFlag)
Set the current default look and feel. |
|
SetupLookAndFeel(java.lang.String className)
Set the current default look and feel. |
Method Summary | |
---|---|
static java.lang.String |
getLookAndFeelClassName(boolean nativeFlag)
Gets the a string specifying the name of the class that implements the look and feel. |
static void |
setLookAndFeel()
Set the current default look and feel to the native systems look and feel if there is one, otherwise the default cross platform look and feel. |
static void |
setLookAndFeel(boolean nativeFlag)
Set the current default look and feel. |
static void |
setLookAndFeel(java.lang.String className)
Set the current default look and feel using a class name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetupLookAndFeel()
public SetupLookAndFeel(boolean nativeFlag)
nativeFlag
- true for the native systems look and feel if there is one,
otherwise the default cross platform look and feel.public SetupLookAndFeel(java.lang.String className)
className
- a string specifying the name of the class that implements
the look and feelMethod Detail |
---|
public static java.lang.String getLookAndFeelClassName(boolean nativeFlag)
nativeFlag
- true for the native systems look and feel if there is one,
otherwise the default cross platform look and feel.
public static void setLookAndFeel()
public static void setLookAndFeel(boolean nativeFlag)
nativeFlag
- true for the native systems look and feel if there is one,
otherwise the default cross platform look and feel.public static void setLookAndFeel(java.lang.String className)
className
- a string specifying the name of the class that implements
the look and feel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |