Interface IThemeExtension
- All Known Implementing Classes:
DarkGroupByThemeExtension
,DarkHierarchicalTreeLayerThemeExtension
,DefaultGroupByThemeExtension
,DefaultHierarchicalTreeLayerThemeExtension
,ModernGroupByThemeExtension
,ModernHierarchicalTreeLayerThemeExtension
public interface IThemeExtension
Theme extensions can be used to extend a already existing theme with
additional style configurations, like conditional styles or styles that are
dependent to other plugins (e.g. groupBy in GlazedLists extension).
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Method that is used to create the painter instances that should be registered for styling.void
registerStyles
(IConfigRegistry configRegistry) Register the style configurations that should be added by this IThemeExtension.void
unregisterStyles
(IConfigRegistry configRegistry) Unregister the style configurations that were registered by this IThemeExtension.
-
Method Details
-
registerStyles
Register the style configurations that should be added by this IThemeExtension.- Parameters:
configRegistry
- The IConfigRegistry that is used by the NatTable instance to which the style configurations should be registered.
-
unregisterStyles
Unregister the style configurations that were registered by this IThemeExtension.- Parameters:
configRegistry
- The IConfigRegistry that is used by the NatTable instance to which the style configurations were applied to.
-
createPainterInstances
default void createPainterInstances()Method that is used to create the painter instances that should be registered for styling. Needed to update painters in case zoom operations- Since:
- 2.0
-