Package org.jvnet.lafplugin
Class ComponentPluginManager
- java.lang.Object
-
- org.jvnet.lafplugin.PluginManager
-
- org.jvnet.lafplugin.ComponentPluginManager
-
public class ComponentPluginManager extends PluginManager
Plugin manager for look-and-feels.
-
-
Constructor Summary
Constructors Constructor Description ComponentPluginManager(java.lang.String xmlName)Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitializeAll()Helper function to initialize all available component plugins ofthisplugin manager.voidprocessAllDefaultsEntries(javax.swing.UIDefaults table, java.lang.Object themeInfo)Helper function to process the (possibly) theme-dependent default settings of all available component plugins ofthisplugin manager.voiduninitializeAll()Helper function to uninitialize all available component plugins ofthisplugin manager.-
Methods inherited from class org.jvnet.lafplugin.PluginManager
getAvailablePlugins, getAvailablePlugins
-
-
-
-
Constructor Detail
-
ComponentPluginManager
public ComponentPluginManager(java.lang.String xmlName)
Simple constructor.- Parameters:
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 inPluginManager.getAvailablePlugins(boolean).
-
-
Method Detail
-
initializeAll
public void initializeAll()
Helper function to initialize all available component plugins ofthisplugin manager. Calls theLafComponentPlugin.initialize()of all available component plugins.
-
uninitializeAll
public void uninitializeAll()
Helper function to uninitialize all available component plugins ofthisplugin manager. Calls theLafComponentPlugin.uninitialize()of all available component plugins.
-
processAllDefaultsEntries
public 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 ofthisplugin manager. Calls theLafComponentPlugin.getDefaults(Object)of all available plugins and puts the respective results in the specified table.- Parameters:
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.
-
-