LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.builder
Class LyViewBuilder

java.lang.Object
  extended by leon.control.builder.LyBuilder
      extended by leon.control.builder.LyViewBuilder
Direct Known Subclasses:
LyDialogBuilder, LyFrameBuilder

public abstract class LyViewBuilder
extends LyBuilder

This builder is a basic class.

See Also:
LyViewController

Field Summary
static java.lang.String __VERSION
          File version
 
Constructor Summary
LyViewBuilder(LyController parent)
          Default constructor.
 
Method Summary
 LyArea buildArea()
          Builds the area for this view.
 LyToolBar buildToolBar()
          Builds the toolbar for the view.
 void completeMenuBar(LyMenuBar menuBar, int level)
          This method is invoked to enable the the area to complete the menuBar of the view and add its own menu items.
 void completeMessages(LyMessages messages, int level)
          This method is invoked to enable the the area(s) to complete the message bar of the view and add its own message items.
 LyToolBar completeRightToolBar(LyToolBar toolbar)
          Complete the given toolbar.
 LyToolBar completeToolBar(LyToolBar toolbar)
          Complete the given toolbar.
 
Methods inherited from class leon.control.builder.LyBuilder
build, 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

LyViewBuilder

public LyViewBuilder(LyController parent)
Default constructor.

Parameters:
parent - parent controller
Method Detail

completeMenuBar

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

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

completeMessages

public void completeMessages(LyMessages messages,
                             int level)
This method is invoked to enable the the area(s) to complete the message bar of the view and add its own message items. Default implementation invokes the method on the builder instance.

Parameters:
messages - the message bar structure
level - : level of current Controller. one of the LEVEL_XXX contants. in LyViewController
See Also:
LyViewController

buildToolBar

public LyToolBar buildToolBar()
Builds the toolbar for the view.

Returns:
the toolbar component

buildArea

public LyArea buildArea()
Builds the area for this view.

Returns:
the area component

completeToolBar

public LyToolBar completeToolBar(LyToolBar toolbar)
Complete the given toolbar.

Parameters:
toolbar - the toolbar to complete
Returns:
the completed toolbar

completeRightToolBar

public LyToolBar completeRightToolBar(LyToolBar toolbar)
Complete the given toolbar.

Parameters:
toolbar - the toolbar to complete
Returns:
the completed toolbar

(c) January 2013 - W4 S.A.

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