@Scope(value="prototype")
@Component(value="cuba_LayoutLoader")
public class LayoutLoader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected BeanLocator |
beanLocator |
protected LayoutLoaderConfig |
config |
protected ComponentLoader.Context |
context |
protected UiComponents |
factory |
static java.lang.String |
NAME |
Constructor and Description |
---|
LayoutLoader(ComponentLoader.Context context) |
Modifier and Type | Method and Description |
---|---|
ComponentLoader |
createComponent(org.dom4j.Element element) |
ComponentLoader<Fragment> |
createFragmentContent(Fragment fragment,
org.dom4j.Element rootWindowElement) |
ComponentLoader<Window> |
createWindowContent(Window window,
org.dom4j.Element rootWindowElement) |
protected com.haulmont.cuba.gui.xml.layout.loaders.FragmentLoader |
getFragmentLoader(org.dom4j.Element element) |
protected ComponentLoader |
getLoader(org.dom4j.Element element) |
ComponentLoader |
getLoader(org.dom4j.Element element,
java.lang.Class<? extends ComponentLoader> loaderClass) |
ComponentLoader |
getLoader(org.dom4j.Element element,
java.lang.String name) |
protected com.haulmont.cuba.gui.xml.layout.loaders.WindowLoader |
getWindowLoader(org.dom4j.Element element) |
protected ComponentLoader |
initLoader(org.dom4j.Element element,
java.lang.Class<? extends ComponentLoader> loaderClass) |
protected void |
setBeanLocator(BeanLocator beanLocator) |
protected void |
setConfig(LayoutLoaderConfig config) |
protected void |
setFactory(UiComponents factory) |
public static final java.lang.String NAME
protected ComponentLoader.Context context
protected UiComponents factory
protected LayoutLoaderConfig config
protected BeanLocator beanLocator
public LayoutLoader(ComponentLoader.Context context)
@Inject protected void setBeanLocator(BeanLocator beanLocator)
@Inject protected void setFactory(UiComponents factory)
@Inject protected void setConfig(LayoutLoaderConfig config)
protected ComponentLoader getLoader(org.dom4j.Element element)
protected com.haulmont.cuba.gui.xml.layout.loaders.FragmentLoader getFragmentLoader(org.dom4j.Element element)
protected com.haulmont.cuba.gui.xml.layout.loaders.WindowLoader getWindowLoader(org.dom4j.Element element)
protected ComponentLoader initLoader(org.dom4j.Element element, java.lang.Class<? extends ComponentLoader> loaderClass)
public ComponentLoader createComponent(org.dom4j.Element element)
public ComponentLoader<Fragment> createFragmentContent(Fragment fragment, org.dom4j.Element rootWindowElement)
public ComponentLoader<Window> createWindowContent(Window window, org.dom4j.Element rootWindowElement)
public ComponentLoader getLoader(org.dom4j.Element element, java.lang.String name)
public ComponentLoader getLoader(org.dom4j.Element element, java.lang.Class<? extends ComponentLoader> loaderClass)