public interface WidgetType<W extends Widget> extends ComponentType<W>
Modifier and Type | Method and Description |
---|---|
static <T extends Widget> |
forAnnotatedWidget(java.lang.Class<T> widgetClass)
Creates a widget type for a widget class that has a
@Description annotation. |
java.util.Set<DataType> |
getDataTypes()
Get data types the widget should be suggested for.
|
getName, getType
java.util.Set<DataType> getDataTypes()
getDataTypes
in interface ComponentType<W extends Widget>
static <T extends Widget> WidgetType<T> forAnnotatedWidget(java.lang.Class<T> widgetClass)
@Description
annotation.widgetClass
- the widget class