|
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
leon.control.builder.LyTextBuilder
public class LyTextBuilder
Creates a view to show Text.
LyTextController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
static int |
DEFAULT_TEXT_HEIGHT
Default text height |
static int |
DEFAULT_TEXT_WIDTH
Default text width |
Constructor Summary | |
---|---|
LyTextBuilder(LyController parent)
Default constructor. |
Method Summary | |
---|---|
LyComponent |
build()
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. |
LyText |
setText(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel,
int nCols,
int nRows,
java.lang.String format,
boolean optional)
Add a text field in the user input window. |
Methods inherited from class leon.control.builder.LyAreaBuilder |
---|
buildComponent, completeMessages, 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 |
---|
public static final java.lang.String __VERSION
public static int DEFAULT_TEXT_WIDTH
public static int DEFAULT_TEXT_HEIGHT
Constructor Detail |
---|
public LyTextBuilder(LyController parent)
parent
- Parent controller of this builderMethod Detail |
---|
public LyComponent build()
build
in class LyBuilder
public LyText setText(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, int nCols, int nRows, java.lang.String format, boolean optional)
fieldId
- Id of the fieldfieldLabel
- Label of the fielditemLabel
- Text to displaynCols
- Number of columns of the text fieldnRows
- Number of rows of the text fieldformat
- Format of the text Field (See also tag optional
- In user input mode, tells if the field is optional
public void completeMenuBar(LyMenuBar menuBar, int level)
completeMenuBar
in class LyAreaBuilder
menuBar
- the menuBar structurelevel
- : level of current Controller. one of the LEVEL_XXX contants in
LyViewControllerLyViewController
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |