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 Type
    Method
    Description
    default void
    Method that is used to create the painter instances that should be registered for styling.
    void
    Register the style configurations that should be added by this IThemeExtension.
    void
    Unregister the style configurations that were registered by this IThemeExtension.
  • Method Details

    • registerStyles

      void registerStyles(IConfigRegistry configRegistry)
      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

      void unregisterStyles(IConfigRegistry configRegistry)
      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