net.sourceforge.squirrel_sql.plugins.laf
Class SubstanceLafPlaceholder
java.lang.Object
javax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
net.sourceforge.squirrel_sql.plugins.laf.SubstanceLafPlaceholder
- All Implemented Interfaces:
- Serializable
public class SubstanceLafPlaceholder
- extends BasicLookAndFeel
This is simply a placeholder class that allows SQuirreL to populate the LAF chooser with the name
"Substance". This is done because the Substance LAF doesn't have one skinnable LAF class that identifies
itself as "Substance", but rather defines a LAF class per "skin", each LAF class identifying itself by it's
skin name. Since there are many of these, they would clutter up the LAF chooser if we listed them in
LAFPluginResources.properties. So, rather than display a particular Substance LAF class to the user, this
LAF sub-class has a generic name of "Substance". Even though technically, the "Autumn" LAF is the only
one used, it is fine, because "Autumn" will be the first skin displayed in the skin chooser, when the
Substance LAF is chosen. Any change to the skin chooser will result in the Autumn LAF's setSkin method
being called, transforming it into the LAF representing the chosen skin.
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.LookAndFeel |
getDesktopPropertyValue, getDisabledIcon, getDisabledSelectedIcon, getLayoutStyle, getSupportsWindowDecorations, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, toString, uninstallBorder |
SubstanceLafPlaceholder
public SubstanceLafPlaceholder()
getDescription
public String getDescription()
- Specified by:
getDescription in class LookAndFeel
getID
public String getID()
- Specified by:
getID in class LookAndFeel
getName
public String getName()
- Specified by:
getName in class LookAndFeel
isNativeLookAndFeel
public boolean isNativeLookAndFeel()
- Specified by:
isNativeLookAndFeel in class LookAndFeel
isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()
- Specified by:
isSupportedLookAndFeel in class LookAndFeel
getLookAndFeelInfo
public UIManager.LookAndFeelInfo getLookAndFeelInfo()
Copyright © 2001-2013. All Rights Reserved.