|
Quaqua 7.2.1 2010-08-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
ch.randelshofer.quaqua.LookAndFeelProxy
ch.randelshofer.quaqua.subset.QuaquaLeopardFileChooserLAF
public class QuaquaLeopardFileChooserLAF
The QuaquaLeopardFileChooserLAF is an extension for Apple's Aqua Look and Feel for Java 1.5 on Mac OS X 10.5 (Leopard).
The Quaqua Look and Feel can not be used on other platforms than Mac OS X.
Important: This class is a cut down version of the Quaqua15LeopardLookAndFeel. It is for use in environments, where the size of the whole Quaqua look and feel would be too excessive.
QuaquaManager to activate this look and feel in
your application. Or use the generic QuaquaLookAndFeel. Both
are designed to automatically detect the appropriate Quaqua Look and Feel
implementation for current Java VM.
QuaquaManager,
QuaquaLookAndFeel,
Serialized Form| Field Summary | |
|---|---|
protected static java.lang.String |
commonDir
|
protected static java.lang.String |
jaguarDir
|
protected static java.lang.String |
leopardDir
|
protected static javax.swing.plaf.FontUIResource |
SMALL_SYSTEM_FONT
The small system font (Lucida Grande Regular 11 pt) is used for informative text in alerts. |
| Fields inherited from class ch.randelshofer.quaqua.LookAndFeelProxy |
|---|
target |
| Constructor Summary | |
|---|---|
QuaquaLeopardFileChooserLAF()
Creates a new instance. |
|
| Method Summary | |
|---|---|
protected java.awt.Image |
createImage(java.lang.String location)
|
protected java.awt.Font |
getBaseSystemFont()
Returns the base font for which system fonts are derived. |
javax.swing.UIDefaults |
getDefaults()
This method is called once by UIManager.setLookAndFeel to create the look and feel specific defaults table. |
java.lang.String |
getDescription()
Return a one line description of this look and feel implementation, e.g. |
java.lang.String |
getID()
Return a string that identifies this look and feel. |
java.lang.String |
getName()
Return a short string that identifies this look and feel, e.g. |
protected java.net.URL |
getResource(java.lang.String location)
|
protected void |
initClassDefaults(javax.swing.UIDefaults table)
Initialize the uiClassID to BasicComponentUI mapping. |
protected void |
initComponentDefaults(javax.swing.UIDefaults table)
|
protected void |
initFontDefaults(javax.swing.UIDefaults table)
|
protected void |
initGeneralDefaults(javax.swing.UIDefaults table)
|
void |
initialize()
UIManager.setLookAndFeel calls this method before the first call (and typically the only call) to getDefaults(). |
protected void |
initResourceBundle(javax.swing.UIDefaults table)
|
protected javax.swing.Icon[] |
makeIcons(java.lang.String location,
int count,
boolean horizontal)
|
static java.lang.Object |
makeNativeIcon(java.lang.String path,
int size)
|
protected void |
putDefaults(javax.swing.UIDefaults table,
java.lang.Object[] keyValueList)
Puts defaults into the specified UIDefaults table. |
| Methods inherited from class ch.randelshofer.quaqua.LookAndFeelProxy |
|---|
getLayoutStyle, getSupportsWindowDecorations, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setTarget, uninitialize |
| Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
|---|
createAudioAction, getAudioActionMap, initSystemColorDefaults, loadSystemColors, playSound |
| Methods inherited from class javax.swing.LookAndFeel |
|---|
getDesktopPropertyValue, getDisabledIcon, getDisabledSelectedIcon, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String commonDir
protected static final java.lang.String jaguarDir
protected static final java.lang.String leopardDir
protected static final javax.swing.plaf.FontUIResource SMALL_SYSTEM_FONT
| Constructor Detail |
|---|
public QuaquaLeopardFileChooserLAF()
| Method Detail |
|---|
public java.lang.String getDescription()
getDescription in class LookAndFeelProxypublic java.lang.String getName()
getName in class LookAndFeelProxypublic void initialize()
initialize in class LookAndFeelProxyLookAndFeelProxy.uninitialize(),
UIManager.setLookAndFeel(javax.swing.LookAndFeel)public javax.swing.UIDefaults getDefaults()
getDefaults in class LookAndFeelProxyinitialize(),
LookAndFeelProxy.uninitialize(),
UIManager.setLookAndFeel(javax.swing.LookAndFeel)protected void initResourceBundle(javax.swing.UIDefaults table)
protected void initClassDefaults(javax.swing.UIDefaults table)
initClassDefaults in class javax.swing.plaf.basic.BasicLookAndFeelgetDefaults()protected void initGeneralDefaults(javax.swing.UIDefaults table)
protected java.awt.Font getBaseSystemFont()
protected void initFontDefaults(javax.swing.UIDefaults table)
protected void initComponentDefaults(javax.swing.UIDefaults table)
initComponentDefaults in class javax.swing.plaf.basic.BasicLookAndFeelprotected java.net.URL getResource(java.lang.String location)
protected java.awt.Image createImage(java.lang.String location)
protected javax.swing.Icon[] makeIcons(java.lang.String location,
int count,
boolean horizontal)
protected void putDefaults(javax.swing.UIDefaults table,
java.lang.Object[] keyValueList)
table - keyValueList -
public static java.lang.Object makeNativeIcon(java.lang.String path,
int size)
public java.lang.String getID()
LookAndFeelProxy
getID in class LookAndFeelProxy
|
Copyright 2003-2007 (c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||