|
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.LyUserInputBuilder
public class LyUserInputBuilder
Creates a view to type in a new simple find selection view.
LyUserInputController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyUserInputBuilder()
Default constructor. |
|
LyUserInputBuilder(LyController parent)
Default constructor. |
Method Summary | |
---|---|
LyBoolean |
addBoolean(java.lang.String fieldId,
java.lang.String fieldLabel,
LyBoolean.Status status,
boolean optional)
Add a boolean field in the user input window. |
LyBoolean |
addBoolean(java.lang.String fieldId,
java.lang.String fieldLabel,
LyBoolean.Status status,
boolean optional,
int pos)
Add a boolean field in the user input window. |
LyChoice |
addChoice(java.lang.String fieldId,
java.lang.String fieldLabel,
boolean multiple,
boolean optional)
Add a choice field (empty) in the user input window. |
LyChoice |
addChoice(java.lang.String fieldId,
java.lang.String fieldLabel,
boolean multiple,
boolean optional,
int pos)
Add a choice field (empty) in the user input window. |
LyDate |
addDate(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel,
java.lang.String format,
boolean optional)
Add a date field in the user input window. |
LyDate |
addDate(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel,
java.lang.String format,
boolean optional,
int pos)
Add a date field in the user input window. |
LyFile |
addFile(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel,
LyFile.Type type,
boolean optional)
Add a file field in the user input window. |
LyFile |
addFile(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel,
LyFile.Type type,
boolean optional,
int pos)
Add a file field in the user input window. |
LyLabel |
addLabel(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel)
Add a label in the user input window. |
LyLabel |
addLabel(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel,
int pos)
Add a label in the user input window. |
LyList |
addList(java.lang.String fieldId,
java.lang.String fieldLabel,
boolean multiple,
int height,
boolean optional,
int pos)
Add a list field in the user input window. |
LyNumber |
addNumber(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel,
LyNumberFieldInfo.Type type,
boolean optional)
Add a number field in the user input window. |
LyNumber |
addNumber(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel,
LyNumberFieldInfo.Type type,
boolean optional,
int pos)
Add a number field in the user input window. |
LyRelation |
addRelation(java.lang.String fieldId,
java.lang.String fieldLabel,
boolean multiple,
boolean optional)
Add a relation field (empty) in the user input window. |
LyRelation |
addRelation(java.lang.String fieldId,
java.lang.String fieldLabel,
boolean multiple,
boolean optional,
int pos)
Add a relation field (empty) in the user input window. |
LyText |
addText(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel,
int ncols,
int nrows,
java.lang.String format,
boolean optional,
int pos)
Add a text field in the user input window. |
LyText |
addText(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel,
int ncols,
java.lang.String format,
boolean optional)
Add a text field in the user input window. |
LyText |
addText(java.lang.String fieldId,
java.lang.String fieldLabel,
java.lang.String itemLabel,
int ncols,
java.lang.String format,
boolean optional,
int pos)
Add a text field in the user input window. |
LyComponent |
build()
Builds the view component for the specified parent controller. |
void |
setFormAlignment(LyFormBase.Align align)
Sets the alignment of the form. |
void |
setFormBorder(boolean border)
Sets the border of the form. |
void |
updateTitleBar()
Update titlebar ans set default content. |
Methods inherited from class leon.control.builder.LyAreaBuilder |
---|
buildComponent, completeMenuBar, completeMessages, getRightLabel, setTitleBarParameters, updateSelectFile |
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
Constructor Detail |
---|
public LyUserInputBuilder()
public LyUserInputBuilder(LyController parent)
parent
- parent controllerMethod Detail |
---|
public LyComponent build()
build
in class LyBuilder
public LyLabel addLabel(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel)
fieldId
- the field idfieldLabel
- the field labelitemLabel
- the initial value
public LyLabel addLabel(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, int pos)
fieldId
- the field idfieldLabel
- the field labelitemLabel
- the initial valuepos
- indicates the position of the field, -1 for the last position
public LyText addText(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, int ncols, java.lang.String format, boolean optional)
fieldId
- the field idfieldLabel
- the field labelitemLabel
- the initial valuencols
- the number of columnsformat
- the format of the fieldoptional
- indicates if the field is optional
public LyText addText(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, int ncols, java.lang.String format, boolean optional, int pos)
fieldId
- the field idfieldLabel
- the field labelitemLabel
- the initial valuencols
- the number of columnsformat
- the format of the fieldoptional
- indicates if the field is optionalpos
- indicates the position of the field, -1 for the last position
public LyText addText(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, int ncols, int nrows, java.lang.String format, boolean optional, int pos)
fieldId
- the field idfieldLabel
- the field labelitemLabel
- the initial valuencols
- the number of columnsnrows
- the number of rowsformat
- the format of the fieldoptional
- indicates if the field is optionalpos
- indicates the position of the field, -1 for the last position
public LyRelation addRelation(java.lang.String fieldId, java.lang.String fieldLabel, boolean multiple, boolean optional)
fieldId
- the id of the fieldfieldLabel
- the label of the fieldmultiple
- indicates if the relation is multipleoptional
- indicates if the relation is optional
public LyRelation addRelation(java.lang.String fieldId, java.lang.String fieldLabel, boolean multiple, boolean optional, int pos)
fieldId
- the id of the fieldfieldLabel
- the label of the fieldmultiple
- indicates if the relation is multipleoptional
- indicates if the relation is optionalpos
- indicates the position of the field, -1 for the last position
public LyChoice addChoice(java.lang.String fieldId, java.lang.String fieldLabel, boolean multiple, boolean optional)
fieldId
- the id of the fieldfieldLabel
- the label of the fieldmultiple
- indicates if the choice is multipleoptional
- indicates if the choice is optional
public LyChoice addChoice(java.lang.String fieldId, java.lang.String fieldLabel, boolean multiple, boolean optional, int pos)
fieldId
- the id of the fieldfieldLabel
- the label of the fieldmultiple
- indicates if the choice is multipleoptional
- indicates if the choice is optionalpos
- indicates the position of the field, -1 for the last position
public LyNumber addNumber(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, LyNumberFieldInfo.Type type, boolean optional)
fieldId
- the field idfieldLabel
- the field labelitemLabel
- the initial valuetype
- the number typeoptional
- indicates if the field is optional
public LyNumber addNumber(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, LyNumberFieldInfo.Type type, boolean optional, int pos)
fieldId
- the field idfieldLabel
- the field labelitemLabel
- the initial valuetype
- the number typeoptional
- indicates if the field is optionalpos
- indicates the position of the field, -1 for the last position
public LyDate addDate(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, java.lang.String format, boolean optional)
fieldId
- the field idfieldLabel
- the field labelitemLabel
- the initial valueformat
- the date formatoptional
- indicates if the field is optional
public LyDate addDate(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, java.lang.String format, boolean optional, int pos)
fieldId
- the field idfieldLabel
- the field labelitemLabel
- the initial valueformat
- the date formatoptional
- indicates if the field is optionalpos
- indicates the position of the field, -1 for the last position
public LyFile addFile(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, LyFile.Type type, boolean optional)
fieldId
- the field idfieldLabel
- the field labelitemLabel
- the initial valuetype
- the file typeoptional
- indicates if the field is optional
public LyFile addFile(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, LyFile.Type type, boolean optional, int pos)
fieldId
- the field idfieldLabel
- the field labelitemLabel
- the initial valuetype
- the file typeoptional
- indicates if the field is optionalpos
- indicates the position of the field, -1 for the last position
public LyList addList(java.lang.String fieldId, java.lang.String fieldLabel, boolean multiple, int height, boolean optional, int pos)
fieldId
- the field idfieldLabel
- the field labelmultiple
- indicates if selection mode is multiple in the listheight
- the height of the listoptional
- indicates if the field is optionalpos
- indicates the position of the field, -1 for the last position
public LyBoolean addBoolean(java.lang.String fieldId, java.lang.String fieldLabel, LyBoolean.Status status, boolean optional)
fieldId
- the id of the fieldfieldLabel
- the label of the fieldstatus
- the boolean statusoptional
- indicates if the choice is optional
public LyBoolean addBoolean(java.lang.String fieldId, java.lang.String fieldLabel, LyBoolean.Status status, boolean optional, int pos)
fieldId
- the id of the fieldfieldLabel
- the label of the fieldstatus
- the boolean statusoptional
- indicates if the choice is optionalpos
- indicates the position of the field, -1 for the last position
public void updateTitleBar()
updateTitleBar
in class LyAreaBuilder
public void setFormAlignment(LyFormBase.Align align)
align
- The new alignment based on the LyForm ALIGN constants.public void setFormBorder(boolean border)
border
- Indicates if border must be set on the form.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |