Module io.github.mmm.ui.api.core
Package io.github.mmm.ui.api.factory
Interface UiSingleWidgetFactoryNative<W extends UiNativeWidget>
- All Superinterfaces:
UiSingleWidgetFactory<W>
public interface UiSingleWidgetFactoryNative<W extends UiNativeWidget>
extends UiSingleWidgetFactory<W>
Factory for
UiNativeWidget
of a single type
.- Since:
- 1.0.0
-
Method Summary
-
Method Details
-
getType
- Specified by:
getType
in interfaceUiSingleWidgetFactory<W extends UiNativeWidget>
- Returns:
- the
Class
reflecting theUiNativeWidget
interface.
-
create
W create()Description copied from interface:UiSingleWidgetFactory
This method creates a newUiWidget
instance of the particularUiWidget
-type managed by this factory.- Specified by:
create
in interfaceUiSingleWidgetFactory<W extends UiNativeWidget>
- Returns:
- the new
UiWidget
. - See Also:
-