UiComponents
instead@Deprecated
public interface UiComponents
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T extends io.jmix.ui.component.Component> |
create(java.lang.Class<T> type)
Deprecated.
Create a component instance by its type.
|
<T extends io.jmix.ui.component.Component> |
create(java.lang.String name)
Deprecated.
Create a component instance by its name.
|
<T extends io.jmix.ui.component.Component> |
create(com.google.common.reflect.TypeToken<T> type)
Deprecated.
Create a component instance by its type.
|
static final java.lang.String NAME
<T extends io.jmix.ui.component.Component> T create(java.lang.String name)
name
- component name. It is usually defined in NAME constant inside the component interface,
e.g. Label.NAME
.
It is also usually equal to component's XML name.<T extends io.jmix.ui.component.Component> T create(java.lang.Class<T> type)
type
- component type<T extends io.jmix.ui.component.Component> T create(com.google.common.reflect.TypeToken<T> type)
type
- component type tokenLabel.TYPE_DEFAULT
,
TextField.TYPE_DEFAULT