LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.builder
Class LyFrameBuilder

java.lang.Object
  extended by leon.control.builder.LyBuilder
      extended by leon.control.builder.LyViewBuilder
          extended by leon.control.builder.LyFrameBuilder

public class LyFrameBuilder
extends LyViewBuilder

This builder creates a view for a frame controller.

See Also:
LyFrameController, LyViewBuilder

Field Summary
static java.lang.String __VERSION
          File version
 
Constructor Summary
LyFrameBuilder(LyController parent)
          Default constructor.
 
Method Summary
 LyComponent build()
          Builds the view component for the specified parent controller.
 LyMessages buildMessages()
          builds the message bar of the frame.
 void completeMenuBar(LyMenuBar menuBar, int level)
          This method is invoked to enable the area to complete the menuBar of the view and add its own menu items.
 
Methods inherited from class leon.control.builder.LyViewBuilder
buildArea, buildToolBar, completeMessages, completeRightToolBar, completeToolBar
 
Methods inherited from class leon.control.builder.LyBuilder
buildComponent, getComponent, getParent
 
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

LyFrameBuilder

public LyFrameBuilder(LyController parent)
Default constructor.

Parameters:
parent - parent controller
Method Detail

build

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

Specified by:
build in class LyBuilder
Returns:
the view Component

completeMenuBar

public void completeMenuBar(LyMenuBar menuBar,
                            int level)
This method is invoked to enable the area to complete the menuBar of the view and add its own menu items. Default implementation invokes the method on the builder instance.

Overrides:
completeMenuBar in class LyViewBuilder
Parameters:
menuBar - the menuBar structure
level - : level of current Controller. one of the LEVEL_XXX contants.
See Also:
LyViewController

buildMessages

public LyMessages buildMessages()
builds the message bar of the frame.

Returns:
the messageBar if any

(c) January 2013 - W4 S.A.

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