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 Summary
ConstructorsModifierConstructorDescriptionprotectedPanelGroupProviderSupport(PanelGroupControl.Group group, String label, Object presentation, Supplier<T> supplier) Creates a new instance with the given parameter. -
Method Summary
Modifier and TypeMethodDescriptionReturns the concrete UI component associated to this provider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.tidalwave.ui.core.PanelGroupProvider
getGroup, getLabel, getPresentation
-
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 grouplabel- the label of the provided objectpresentation- the presentation objectsupplier- the supplier of the UI control
-
-
Method Details
-
getComponent
Returns the concrete UI component associated to this provider..- Specified by:
getComponentin interfacePanelGroupProvider<T>- Returns:
- the concrete UI component associated to this provider
-