Class RadiancePluginRepository
- java.lang.Object
-
- org.pushingpixels.radiance.theming.internal.RadiancePluginRepository
-
public class RadiancePluginRepository extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<RadianceThemingComponentPlugin>
componentPlugins
private static RadiancePluginRepository
instance
private java.util.Set<RadianceThemingSkinPlugin>
skinPlugins
-
Constructor Summary
Constructors Constructor Description RadiancePluginRepository()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<RadianceThemingComponentPlugin>
getComponentPlugins()
static RadiancePluginRepository
getInstance()
java.util.Set<RadianceThemingSkinPlugin>
getSkinPlugins()
void
initializeAllComponentPlugins()
Helper function to initialize all available component plugins.void
processAllDefaultsEntriesComponentPlugins(javax.swing.UIDefaults table, RadianceSkin skin)
Helper function to process the (possibly) skin-dependent default settings of all available component plugins.void
registerComponentPlugin(RadianceThemingComponentPlugin componentPlugin)
void
registerSkinPlugin(RadianceThemingSkinPlugin skinPlugin)
void
uninitializeAllComponentPlugins()
Helper function to uninitialize all available component plugins.void
unregisterComponentPlugin(RadianceThemingComponentPlugin componentPlugin)
void
unregisterSkinPlugin(RadianceThemingSkinPlugin skinPlugin)
-
-
-
Field Detail
-
componentPlugins
private java.util.Set<RadianceThemingComponentPlugin> componentPlugins
-
skinPlugins
private java.util.Set<RadianceThemingSkinPlugin> skinPlugins
-
instance
private static RadiancePluginRepository instance
-
-
Method Detail
-
getInstance
public static RadiancePluginRepository getInstance()
-
registerComponentPlugin
public void registerComponentPlugin(RadianceThemingComponentPlugin componentPlugin)
-
unregisterComponentPlugin
public void unregisterComponentPlugin(RadianceThemingComponentPlugin componentPlugin)
-
registerSkinPlugin
public void registerSkinPlugin(RadianceThemingSkinPlugin skinPlugin)
-
unregisterSkinPlugin
public void unregisterSkinPlugin(RadianceThemingSkinPlugin skinPlugin)
-
getComponentPlugins
public java.util.Set<RadianceThemingComponentPlugin> getComponentPlugins()
-
getSkinPlugins
public java.util.Set<RadianceThemingSkinPlugin> 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
public void processAllDefaultsEntriesComponentPlugins(javax.swing.UIDefaults table, RadianceSkin skin)
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.
-
-