|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreebolic.commons.Laf
public class Laf
Look and feel
Constructor Summary | |
---|---|
Laf()
|
Method Summary | |
---|---|
(package private) static javax.swing.LookAndFeel |
getLaf(java.lang.String thisClassName)
Get LAF instance |
static void |
lookAndFeel(java.lang.String[] theseArgs)
Initialize look and feel |
private static javax.swing.plaf.metal.MetalTheme |
makeCustomTheme()
Make custom golden metal theme |
static void |
setBold(boolean haveBold)
Set bold font |
(package private) static void |
setCurrentTheme(java.lang.String thisClassName,
javax.swing.plaf.metal.MetalTheme thisTheme)
Set current theme |
static boolean |
setCustomTheme(java.lang.String thisLafName)
Set custom theme |
static boolean |
setLookAndFeel(java.lang.String thisLafName)
Set look and feel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Laf()
Method Detail |
---|
public static void lookAndFeel(java.lang.String[] theseArgs)
theseArgs
- command line argumentspublic static void setBold(boolean haveBold)
haveBold
- true/falsepublic static boolean setLookAndFeel(java.lang.String thisLafName) throws javax.swing.UnsupportedLookAndFeelException
thisLafName
- laf name
javax.swing.UnsupportedLookAndFeelException
static javax.swing.LookAndFeel getLaf(java.lang.String thisClassName)
thisClassName
- LAF class name
public static boolean setCustomTheme(java.lang.String thisLafName)
thisLafName
- laf name
javax.swing.UnsupportedLookAndFeelException
static void setCurrentTheme(java.lang.String thisClassName, javax.swing.plaf.metal.MetalTheme thisTheme)
thisClassName
- LAF class name (may have overridden 'setCurrentTheme()')thisTheme
- themeprivate static javax.swing.plaf.metal.MetalTheme makeCustomTheme()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |