LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.builder
Class LyDashboardBuilder

java.lang.Object
  extended by leon.control.builder.LyBuilder
      extended by leon.control.builder.LyAreaBuilder
          extended by leon.control.builder.LyMultiAreaBuilder
              extended by leon.control.builder.LyDashboardBuilder

public class LyDashboardBuilder
extends LyMultiAreaBuilder

This builder is used to construct the view for the dashboard controller.

See Also:
LyDashboardController

Field Summary
static java.lang.String __VERSION
          File version
 
Fields inherited from class leon.control.builder.LyMultiAreaBuilder
GROUP, VISIBLE_SEP
 
Constructor Summary
LyDashboardBuilder(LyController parent)
          Default constructor.
 
Method Summary
 LyComponent build()
          Builds the view component for the specified parent controller.
 LyArea buildDefaultArea()
          Builds the area displayed when opening the dashboard (single window mode only).
 LyMenu buildWindowMenu()
          Builds the window menu.
 void completeMenuBar(LyMenuBar menuBar, int level)
          Complete the given menu bar.
 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.
 
Methods inherited from class leon.control.builder.LyAreaBuilder
buildComponent, getRightLabel, setTitleBarParameters, updateSelectFile, updateTitleBar
 
Methods inherited from class leon.control.builder.LyBuilder
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

LyDashboardBuilder

public LyDashboardBuilder(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

buildDefaultArea

public LyArea buildDefaultArea()
Builds the area displayed when opening the dashboard (single window mode only).
Default implementation returns a map containing the application image and a welcome message.

Returns:
the default area or null if not single window mode.

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.

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

buildWindowMenu

public LyMenu buildWindowMenu()
Builds the window menu.
This menu is used to allow users seeing which dashboard actions are opened.

Returns:
the window menu

completeMenuBar

public void completeMenuBar(LyMenuBar menuBar,
                            int level)
Complete the given menu bar.

Overrides:
completeMenuBar in class LyMultiAreaBuilder
Parameters:
menuBar - the menubar to complete
level - the current level
See Also:
LyViewController

(c) January 2013 - W4 S.A.

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