|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.lafplugin.PluginManager
org.jvnet.lafplugin.ComponentPluginManager
public class ComponentPluginManager
Plugin manager for look-and-feels.
Constructor Summary | |
---|---|
ComponentPluginManager(java.lang.String xmlName)
Simple constructor. |
Method Summary | |
---|---|
void |
initializeAll()
Helper function to initialize all available component plugins of this plugin manager. |
void |
processAllDefaultsEntries(javax.swing.UIDefaults table,
java.lang.Object themeInfo)
Helper function to process the (possibly) theme-dependent default settings of all available component plugins of this plugin
manager. |
void |
uninitializeAll()
Helper function to uninitialize all available component plugins of this plugin manager. |
Methods inherited from class org.jvnet.lafplugin.PluginManager |
---|
getAvailablePlugins, getAvailablePlugins, getPlugin, getPluginClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentPluginManager(java.lang.String xmlName)
xmlName
- The name of XML file that contains plugin configuration.mainTag
- The main tag in the XML configuration file.pluginTag
- The tag that corresponds to a single plugin kind. Specifies
the plugin kind that will be located in
PluginManager.getAvailablePlugins(boolean)
.Method Detail |
---|
public void initializeAll()
this
plugin manager. Calls the
LafComponentPlugin.initialize()
of all available component
plugins.
public void uninitializeAll()
this
plugin manager. Calls the
LafComponentPlugin.uninitialize()
of all available component
plugins.
public void processAllDefaultsEntries(javax.swing.UIDefaults table, java.lang.Object themeInfo)
this
plugin
manager. Calls the LafComponentPlugin.getDefaults(Object)
of all
available plugins and puts the respective results in the specified table.
table
- The table that will be updated with the (possibly)
theme-dependent default settings of all available component
plugins.themeInfo
- LAF-specific information on the current theme.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |