UiComponents instead.@Deprecated
public interface ComponentsFactory
AppBeans.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Component> |
createComponent(java.lang.Class<T> type)
Deprecated.
Create a component instance by its type.
|
Component |
createComponent(ComponentGenerationContext context)
Deprecated.
Use
UiComponentsGenerator instead. |
<T extends Component> |
createComponent(java.lang.String name)
Deprecated.
Create a component instance by its name.
|
Timer |
createTimer()
Deprecated.
Use
UiComponents.create(String) instead. |
static final java.lang.String NAME
<T extends Component> T createComponent(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 Component> T createComponent(java.lang.Class<T> type)
type - component type@Deprecated Component createComponent(ComponentGenerationContext context)
UiComponentsGenerator instead.ComponentGenerationContext.
Trying to find ComponentGenerationStrategy implementations. If at least one strategy exists, then:
Ordered interface.null component.context - the ComponentGenerationContext instancejava.lang.IllegalArgumentException - if no component can be created for a given context@Deprecated Timer createTimer()
UiComponents.create(String) instead.