Class RadiancePluginRepository
java.lang.Object
org.pushingpixels.radiance.theming.internal.RadiancePluginRepository
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Set
<RadianceThemingComponentPlugin> private static RadiancePluginRepository
private Set
<RadianceThemingSkinPlugin> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RadiancePluginRepository
void
Helper function to initialize all available component plugins.void
Helper function to process the (possibly) skin-dependent default settings of all available component plugins.void
registerComponentPlugin
(RadianceThemingComponentPlugin componentPlugin) void
registerSkinPlugin
(RadianceThemingSkinPlugin skinPlugin) void
Helper function to uninitialize all available component plugins.void
unregisterComponentPlugin
(RadianceThemingComponentPlugin componentPlugin) void
unregisterSkinPlugin
(RadianceThemingSkinPlugin skinPlugin)
-
Field Details
-
componentPlugins
-
skinPlugins
-
instance
-
-
Constructor Details
-
RadiancePluginRepository
public RadiancePluginRepository()
-
-
Method Details
-
getInstance
-
registerComponentPlugin
-
unregisterComponentPlugin
-
registerSkinPlugin
-
unregisterSkinPlugin
-
getComponentPlugins
-
getSkinPlugins
-
initializeAllComponentPlugins
public void initializeAllComponentPlugins()Helper function to initialize all available component plugins. Calls theRadianceThemingComponentPlugin.initialize()
of all available component plugins. -
uninitializeAllComponentPlugins
public void uninitializeAllComponentPlugins()Helper function to uninitialize all available component plugins. Calls theRadianceThemingComponentPlugin.uninitialize()
of all available component plugins. -
processAllDefaultsEntriesComponentPlugins
Helper function to process the (possibly) skin-dependent default settings of all available component plugins. Calls theRadianceThemingComponentPlugin.getDefaults(RadianceSkin)
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.skin
- Skin.
-