public static interface UIFragment.ComponentFactory
Modifier and Type | Method and Description |
---|---|
Component |
newComponent(Element el)
Creates a new component given its XML description.
|
Object |
newConstraint(Container parent,
Element parentEl,
Component child,
Element childEl)
Creates a layout constraint for adding a child component to a parent component.
|
Component newComponent(Element el)
el
- The XML elementObject newConstraint(Container parent, Element parentEl, Component child, Element childEl)
parent
- The parent component.parentEl
- The XML element for the parent component.child
- The child component.childEl
- The XML element for the child component.