org.jvnet.substance.plugin
Class BasePlugin

java.lang.Object
  extended by org.jvnet.substance.plugin.BasePlugin
All Implemented Interfaces:
org.jvnet.lafplugin.LafComponentPlugin, org.jvnet.lafplugin.LafPlugin

public class BasePlugin
extends java.lang.Object
implements org.jvnet.lafplugin.LafComponentPlugin

Core plugin for additional UI delegates. Contains information on Quaqua and Xoetrope color chooser panels. This class is for internal use only.

Author:
Kirill Grouchnikov

Field Summary
protected static java.lang.String commonDir
          Common directory for Quaqua images.
protected  boolean hasQuaquaColorChooser
          Indication whether the Quaqua color chooser is available.
protected static java.lang.String quaquaColorChooserClassName
          Color chooser class name from Quaqua.
 
Fields inherited from interface org.jvnet.lafplugin.LafComponentPlugin
COMPONENT_TAG_PLUGIN_CLASS
 
Fields inherited from interface org.jvnet.lafplugin.LafPlugin
TAG_MAIN
 
Constructor Summary
BasePlugin()
          Creates the base plugin.
 
Method Summary
protected  javax.swing.Icon createButtonStateIcon(java.lang.String location, int states)
          From Quaqua
 java.lang.Object[] getDefaults(java.lang.Object mTheme)
           
 void initialize()
           
protected  java.lang.Object makeBufferedImage(java.lang.String location)
           
protected static java.lang.Object makeButtonStateIcon(java.lang.String location, int states)
           
static java.lang.Object makeIcon(java.lang.Class baseClass, java.lang.String location)
           
protected  java.lang.Object makeImage(java.lang.String location)
          From Quaqua
 void uninitialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commonDir

protected static final java.lang.String commonDir
Common directory for Quaqua images.

See Also:
Constant Field Values

quaquaColorChooserClassName

protected static final java.lang.String quaquaColorChooserClassName
Color chooser class name from Quaqua.

See Also:
Constant Field Values

hasQuaquaColorChooser

protected boolean hasQuaquaColorChooser
Indication whether the Quaqua color chooser is available. The lite version strips away the Quaqua color chooser.

Constructor Detail

BasePlugin

public BasePlugin()
Creates the base plugin.

Method Detail

createButtonStateIcon

protected javax.swing.Icon createButtonStateIcon(java.lang.String location,
                                                 int states)
From Quaqua


makeImage

protected java.lang.Object makeImage(java.lang.String location)
From Quaqua


makeButtonStateIcon

protected static java.lang.Object makeButtonStateIcon(java.lang.String location,
                                                      int states)

makeBufferedImage

protected java.lang.Object makeBufferedImage(java.lang.String location)

makeIcon

public static java.lang.Object makeIcon(java.lang.Class baseClass,
                                        java.lang.String location)

getDefaults

public java.lang.Object[] getDefaults(java.lang.Object mTheme)
Specified by:
getDefaults in interface org.jvnet.lafplugin.LafComponentPlugin

uninitialize

public void uninitialize()
Specified by:
uninitialize in interface org.jvnet.lafplugin.LafComponentPlugin

initialize

public void initialize()
Specified by:
initialize in interface org.jvnet.lafplugin.LafComponentPlugin