leon.control.builder
Class LyFileBuilder
java.lang.Object
leon.control.builder.LyBuilder
leon.control.builder.LyFileBuilder
public class LyFileBuilder
- extends LyBuilder
This builder creates a view from an XML description of this view.
Field Summary |
static java.lang.String |
__VERSION
File version |
Constructor Summary |
LyFileBuilder(LyController parent,
java.lang.String xmlFile,
java.lang.Class<?> componentClass)
Default constructor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__VERSION
public static final java.lang.String __VERSION
- File version
- See Also:
- Constant Field Values
LyFileBuilder
public LyFileBuilder(LyController parent,
java.lang.String xmlFile,
java.lang.Class<?> componentClass)
- Default constructor.
- Parameters:
parent
- parent controllerxmlFile
- XML FilecomponentClass
- Expected component class (may be null if component is unknown).
build
public LyComponent build()
- Builds the view component for the specified parent controller. The component may create the
XML description or the internal view.
- Specified by:
build
in class LyBuilder
- Returns:
- the view Component
getComponent
public LyComponent getComponent()
- Returns root component built by this builder.
- Overrides:
getComponent
in class LyBuilder
- Returns:
- the root component
Website: W4 S.A., contact us: support@w4global.com