Quaqua 8.0 2011-10-02

ch.randelshofer.quaqua.lion
Class Quaqua16LionLookAndFeel

java.lang.Object
  extended by javax.swing.LookAndFeel
      extended by javax.swing.plaf.basic.BasicLookAndFeel
          extended by ch.randelshofer.quaqua.LookAndFeelProxy15
              extended by ch.randelshofer.quaqua.BasicQuaquaNativeLookAndFeel
                  extended by ch.randelshofer.quaqua.lion.Quaqua16LionLookAndFeel
All Implemented Interfaces:
java.io.Serializable

public class Quaqua16LionLookAndFeel
extends BasicQuaquaNativeLookAndFeel

Quaqua16LionLookAndFeel.

Version:
$Id: Quaqua16LionLookAndFeel.java 441 2011-09-02 08:15:04Z wrandelshofer $
Author:
Werner Randelshofer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ch.randelshofer.quaqua.BasicQuaquaNativeLookAndFeel
commonDir, jaguarDir, leopardDir, lionDir, pantherDir, snowLeopardDir, tigerDir
 
Fields inherited from class ch.randelshofer.quaqua.LookAndFeelProxy15
target
 
Constructor Summary
  Quaqua16LionLookAndFeel()
          Creates a new instance.
protected Quaqua16LionLookAndFeel(java.lang.String className)
          Creates a new instance.
 
Method Summary
 java.lang.String getDescription()
          Return a one line description of this look and feel implementation, e.g.
 javax.swing.LayoutStyle getLayoutStyle()
           
 java.lang.String getName()
          Return a short string that identifies this look and feel, e.g.
 boolean getSupportsWindowDecorations()
          Returns true if the LookAndFeel returned RootPaneUI instances support providing Window decorations in a JRootPane.
protected  void initClassDefaults(javax.swing.UIDefaults table)
          Initialize the uiClassID to BasicComponentUI mapping.
protected  void initDesignDefaults(javax.swing.UIDefaults table)
          Init design specific look and feel defaults.
protected  void initFontDefaults(javax.swing.UIDefaults table)
           
protected  void initSystemColorDefaults(javax.swing.UIDefaults table)
          Load the SystemColors into the defaults table.
protected  boolean isBrushedMetal()
           
protected  boolean isUseScreenMenuBar()
           
 
Methods inherited from class ch.randelshofer.quaqua.BasicQuaquaNativeLookAndFeel
getBaseSystemFont, getDefaults, getID, initColorDefaults, initComponentDefaults, initGeneralDefaults, initInputMapDefaults, initResourceBundle, installKeyboardFocusManager, installMouseGrabber, installPopupFactory, isJaguarTabbedPane, isUIIncluded, makeBufferedImage, makeBufferedImage, makeButtonStateBorder, makeButtonStateIcon, makeButtonStateIcon, makeButtonStateIcon, makeFrameButtonStateIcon, makeIcon, makeIcon, makeIcon, makeIcons, makeIcons, makeImage, makeImageBevelBackgroundBorder, makeImageBevelBorder, makeImageBevelBorder, makeImageBevelBorder, makeImageBevelBorder, makeImageBevelBorder, makeImageBevelBorders, makeNativeButtonStateBorder, makeNativeButtonStateIcon, makeNativeIcon, makeNativeIcon, makeNativeImageBevelBorder, makeNativeSidebarIcon, makeOverlaidButtonStateIcon, makeSliderThumbIcon, makeTextureColor, putDefaults, uninitialize, uninstallKeyboardFocusManager, uninstallMouseGrabber, uninstallPopupFactory
 
Methods inherited from class ch.randelshofer.quaqua.LookAndFeelProxy15
initialize, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setTarget
 
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel
createAudioAction, getAudioActionMap, 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
 

Constructor Detail

Quaqua16LionLookAndFeel

public Quaqua16LionLookAndFeel()
Creates a new instance.


Quaqua16LionLookAndFeel

protected Quaqua16LionLookAndFeel(java.lang.String className)
Creates a new instance.

Method Detail

getDescription

public java.lang.String getDescription()
Return a one line description of this look and feel implementation, e.g. "The CDE/Motif Look and Feel". This string is intended for the user, e.g. in the title of a window or in a ToolTip message.

Overrides:
getDescription in class LookAndFeelProxy15

getName

public java.lang.String getName()
Return a short string that identifies this look and feel, e.g. "CDE/Motif". This string should be appropriate for a menu item. Distinct look and feels should have different names, e.g. a subclass of MotifLookAndFeel that changes the way a few components are rendered should be called "CDE/Motif My Way"; something that would be useful to a user trying to select a L&F from a list of names.

Overrides:
getName in class LookAndFeelProxy15

initClassDefaults

protected void initClassDefaults(javax.swing.UIDefaults table)
Initialize the uiClassID to BasicComponentUI mapping. The JComponent classes define their own uiClassID constants (see AbstractComponent.getUIClassID). This table must map those constants to a BasicComponentUI class of the appropriate type.

Overrides:
initClassDefaults in class javax.swing.plaf.basic.BasicLookAndFeel
See Also:
BasicQuaquaNativeLookAndFeel.getDefaults()

isBrushedMetal

protected boolean isBrushedMetal()

isUseScreenMenuBar

protected boolean isUseScreenMenuBar()

initFontDefaults

protected void initFontDefaults(javax.swing.UIDefaults table)
Overrides:
initFontDefaults in class BasicQuaquaNativeLookAndFeel

initSystemColorDefaults

protected void initSystemColorDefaults(javax.swing.UIDefaults table)
Description copied from class: BasicQuaquaNativeLookAndFeel
Load the SystemColors into the defaults table. The keys for SystemColor defaults are the same as the names of the public fields in SystemColor. If the table is being created on a native Windows platform we use the SystemColor values, otherwise we create color uiDefaults whose values match the defaults Windows95 colors.

Overrides:
initSystemColorDefaults in class BasicQuaquaNativeLookAndFeel

initDesignDefaults

protected void initDesignDefaults(javax.swing.UIDefaults table)
Description copied from class: BasicQuaquaNativeLookAndFeel
Init design specific look and feel defaults.

Overrides:
initDesignDefaults in class BasicQuaquaNativeLookAndFeel

getSupportsWindowDecorations

public boolean getSupportsWindowDecorations()
Description copied from class: BasicQuaquaNativeLookAndFeel
Returns true if the LookAndFeel returned RootPaneUI instances support providing Window decorations in a JRootPane.

This implementation returns true, since it does support providing these border and window title pane decorations.

Overrides:
getSupportsWindowDecorations in class BasicQuaquaNativeLookAndFeel
Returns:
True if the RootPaneUI instances created support client side decorations
See Also:
JDialog.setDefaultLookAndFeelDecorated(boolean), JFrame.setDefaultLookAndFeelDecorated(boolean), JRootPane.setWindowDecorationStyle(int)

getLayoutStyle

public javax.swing.LayoutStyle getLayoutStyle()
Overrides:
getLayoutStyle in class javax.swing.LookAndFeel

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.