Package org.pushingpixels.lafplugin
Class ComponentPluginManager
java.lang.Object
org.pushingpixels.lafplugin.PluginManager
org.pushingpixels.lafplugin.ComponentPluginManager
Plugin manager for look-and-feels.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Helper function to initialize all available component plugins ofthis
plugin manager.void
processAllDefaultsEntries
(UIDefaults table, Object themeInfo) Helper function to process the (possibly) theme-dependent default settings of all available component plugins ofthis
plugin manager.void
Helper function to uninitialize all available component plugins ofthis
plugin manager.Methods inherited from class org.pushingpixels.lafplugin.PluginManager
getAvailablePlugins, getAvailablePlugins, getPlugin, getPluginClass
-
Constructor Details
-
ComponentPluginManager
Simple constructor.- Parameters:
xmlName
- The name of XML file that contains plugin configuration.
-
-
Method Details
-
initializeAll
public void initializeAll()Helper function to initialize all available component plugins ofthis
plugin manager. Calls theLafComponentPlugin.initialize()
of all available component plugins. -
uninitializeAll
public void uninitializeAll()Helper function to uninitialize all available component plugins ofthis
plugin manager. Calls theLafComponentPlugin.uninitialize()
of all available component plugins. -
processAllDefaultsEntries
Helper function to process the (possibly) theme-dependent default settings of all available component plugins ofthis
plugin 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.
-