net.sourceforge.squirrel_sql.plugins.laf
Class SubstanceLafPlaceholder

java.lang.Object
  extended by javax.swing.LookAndFeel
      extended by javax.swing.plaf.basic.BasicLookAndFeel
          extended by 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

Constructor Summary
SubstanceLafPlaceholder()
           
 
Method Summary
 String getDescription()
           
 String getID()
           
 UIManager.LookAndFeelInfo getLookAndFeelInfo()
           
 String getName()
           
 boolean isNativeLookAndFeel()
           
 boolean isSupportedLookAndFeel()
           
 
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel
createAudioAction, getAudioActionMap, getDefaults, initClassDefaults, initComponentDefaults, initialize, initSystemColorDefaults, loadSystemColors, playSound, uninitialize
 
Methods inherited from class javax.swing.LookAndFeel
getDesktopPropertyValue, getDisabledIcon, getDisabledSelectedIcon, getLayoutStyle, getSupportsWindowDecorations, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, toString, uninstallBorder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubstanceLafPlaceholder

public SubstanceLafPlaceholder()
Method Detail

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.