Class PanelGroupProviderSupport<T>

java.lang.Object
it.tidalwave.ui.core.spi.PanelGroupProviderSupport<T>
Type Parameters:
T - the concrete type of the UI control
All Implemented Interfaces:
PanelGroupProvider<T>

@API(status=EXPERIMENTAL) public abstract class PanelGroupProviderSupport<T> extends Object implements PanelGroupProvider<T>
A support class for PanelGroupProvider. Most implementation will just need to subclass and provide the proper parameters to the constructor.
Since:
2.0-ALPHA-3
Author:
Fabrizio Giudici
  • Constructor Details

    • PanelGroupProviderSupport

      protected PanelGroupProviderSupport(@Nonnull PanelGroupControl.Group group, @Nonnull String label, @Nonnull Object presentation, @Nonnull Supplier<T> supplier)
      Creates a new instance with the given parameter.
      Parameters:
      group - the group
      label - the label of the provided object
      presentation - the presentation object
      supplier - the supplier of the UI control
  • Method Details

    • getComponent

      @Nonnull public T getComponent()
      Returns the concrete UI component associated to this provider..
      Specified by:
      getComponent in interface PanelGroupProvider<T>
      Returns:
      the concrete UI component associated to this provider