|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.control.builder.LyBuilder
leon.control.builder.LyAreaBuilder
public abstract class LyAreaBuilder
This class implements a basic builder for all controller based on a LyAreaController. It handles all common components (toolbar, titlebar messages bar, menubar...)
LyAreaController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyAreaBuilder(LyController parent)
Default constructor. |
Method Summary | |
---|---|
LyComponent |
buildComponent()
Builds the view component for the specified parent controller. |
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. |
java.lang.String |
getRightLabel()
Gets right label set by setTitleBarParameters. |
void |
setTitleBarParameters(java.lang.String leftLabel,
java.lang.String centerLabel,
java.lang.String rightLabel,
java.lang.String leftImage,
java.lang.String rightImage)
Deprecated. Use behavior |
LyArea |
updateSelectFile(java.lang.String prefix)
Updates the list of all data files. |
void |
updateTitleBar()
Update titlebar and set default content. |
Methods inherited from class leon.control.builder.LyBuilder |
---|
build, getComponent, getParent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyAreaBuilder(LyController parent)
parent
- parent controllerMethod Detail |
---|
public LyComponent buildComponent()
buildComponent
in class LyBuilder
public void setTitleBarParameters(java.lang.String leftLabel, java.lang.String centerLabel, java.lang.String rightLabel, java.lang.String leftImage, java.lang.String rightImage)
leftLabel
- the left labelcenterLabel
- the center labelrightLabel
- the right labelleftImage
- the left imagerightImage
- the right imagepublic void updateTitleBar()
public LyArea updateSelectFile(java.lang.String prefix)
prefix
- The prefix of the files.
public void completeMenuBar(LyMenuBar menuBar, int level)
menuBar
- the menuBar structurelevel
- : level of current Controller. one of the LEVEL_XXX contants in
LyViewControllerLyViewController
public void completeMessages(LyMessages messages, int level)
messages
- the message bar structurelevel
- : level of current Controller. one of the LEVEL_XXX contants. in
LyViewControllerLyViewController
public final java.lang.String getRightLabel()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |