Interface UiSingleWidgetFactory<W extends UiWidget>

Type Parameters:
W - the generic type of the UiWidget that is created by this factory.
All Known Subinterfaces:
UiSingleWidgetFactoryDatatype<V>, UiSingleWidgetFactoryNative<W>, UiSingleWidgetFactoryProperty<V>

public interface UiSingleWidgetFactory<W extends UiWidget>
Factory for UiWidgets of a single type.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    This method creates a new UiWidget instance of the particular UiWidget-type managed by this factory.
     
  • Method Details

    • create

      W create()
      This method creates a new UiWidget instance of the particular UiWidget-type managed by this factory.
      Returns:
      the new UiWidget.
    • getType

      Class<?> getType()
      Returns:
      the Class this factory is responsible for.