|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebFormFieldOrColumn
The WebFormFieldOrColumn
interface represents behaviour shared by both a web form field
and a web table column
including:
Method Summary | |
---|---|
CustomList |
createCustomList()
Creates and returns an empty list and associates the list with the form field. |
CustomList |
createCustomList(java.lang.String[] entries)
Creates a list for the field and adds the passed entries. |
int |
getDisplayLength()
Returns the size of the input box used for the form field when it is editable. |
java.lang.String |
getDisplayType()
Returns the field's display type. |
Text |
getHelpText()
Returns the help Text for the form field for the current language. |
Text |
getLabelText()
Returns the label Text for the form field for the current language. |
FieldList |
getList()
Returns the list associated with the form field or null if no list exists. |
int |
getMaxDisplayLength()
Returns the maximum number of characters that can be entered by the user for the form field. |
Method Detail |
---|
FieldList getList()
Dynamic List
- values are retrieved from a databaseStatic List
- supports multiple languages, values are defined using the Ebase Xi DesignerCustom List
- the list is created programmatically using the createCustomList()
method
CustomList createCustomList()
Javascript example:
var list = fields.LIST_FIELD.createCustomList(); list.add("Line 1", 1); list.add("Line 2", 2); list.add("Line 3", 3);
CustomList createCustomList(java.lang.String[] entries)
Javascript example:
var list = fields.LIST_FIELD.createCustomList(["Line 1", "Line 2", "Line 3"]);
Text getLabelText()
Text
for the form field for the current language.
Text getHelpText()
Text
for the form field for the current language.
int getDisplayLength()
int getMaxDisplayLength()
java.lang.String getDisplayType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |