LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.builder
Class LyBuilder

java.lang.Object
  extended by leon.control.builder.LyBuilder
Direct Known Subclasses:
LyAreaBuilder, LyFileBuilder, LyFormFieldBuilder, LyPrintBuilder, LyViewBuilder

public abstract class LyBuilder
extends java.lang.Object

This class is inherited by all builder class. It implements all basic method for a builder. The role of a builder is to create the view associted to a controller


Field Summary
static java.lang.String __VERSION
          File version
 
Constructor Summary
LyBuilder(LyController parent)
          Default constructor.
 
Method Summary
abstract  LyComponent build()
          Builds the view component for the specified parent controller.
 LyComponent buildComponent()
          Builds the view component for the specified parent controller.
 LyComponent getComponent()
          Returns root component built by this builder.
 LyController getParent()
          Retrieves the parent controller.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Constructor Detail

LyBuilder

public LyBuilder(LyController parent)
Default constructor.

Parameters:
parent - parent controller
Method Detail

getParent

public LyController getParent()
Retrieves the parent controller.

Returns:
the parent controller

buildComponent

public LyComponent buildComponent()
Builds the view component for the specified parent controller.

Returns:
the view Component

build

public abstract LyComponent build()
Builds the view component for the specified parent controller. The component may create the XML description or the internal view.

Returns:
the view Component

getComponent

public LyComponent getComponent()
Returns root component built by this builder.

Returns:
the root component

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com