public class SelectHtml extends Select implements IDrawField
CHILD, CONTENT| Constructor and Description |
|---|
SelectHtml() |
| Modifier and Type | Method and Description |
|---|---|
Html |
buildAddHtml(java.lang.String value,
Theme theme)
Builds the bare input for an update/edit form
|
Html |
buildUpdateHtml(java.lang.String value,
Theme theme)
Builds the bare input for an update/edit form
|
Html |
buildViewHtml(java.lang.String value,
Theme theme)
Builds the bare input for an view form
|
HtmlTr[] |
displayForAdd(java.lang.String value,
Theme theme)
Displays the value for an Add form.
|
Html |
displayForList(IExecContext execContext,
Field field,
java.lang.String value,
Theme theme)
Displays the value for a List form (table).
|
HtmlTr |
displayForSearch(java.lang.String value,
Theme theme)
Displays the value for a Search form.
|
HtmlTr[] |
displayForUpdate(java.lang.String value,
Theme theme)
Displays the value for an Update form.
|
Html[] |
displayForView(CommonFormFields callingAction,
Field field,
java.lang.String value,
Theme theme)
Displays the value for a View form.
|
HtmlTr[] |
displayForView(CommonFormFields callingAction,
java.lang.String value,
Theme theme) |
Field |
getHtmlField() |
java.lang.String |
getSelect() |
boolean |
isMultiSelect() |
boolean |
isSingleSelect() |
void |
setHtmlField(Field field) |
void |
setLabelPosition(java.lang.String position) |
void |
setSelect(java.lang.String select) |
addBackLinkedFk, getAlias, getBackLinkedFks, getDate_format, getFunction_ref, getLength, getName, getName, getPattern, getPlaceholder, getPresentation_height, getPresentation_name, getPresentation_name, getPresentation_width, getQuery_sql, getRefFk, getRegex, getTooltip, getTooltip, isEditable, isMandatory, isUnique, setAlias, setDate_format, setEditable, setFunction_ref, setLength, setMandatory, setName, setPattern, setPlaceholder, setPresentation_height, setPresentation_name, setPresentation_width, setQuery_sql, setRefFk, setRegex, setTooltip, setUniquebuildErrorStringaddChild, clearActions, doReplace, doReplace, getActions, getChild, getContent, getFirstValueFound, getParent, getReplacementContent, getReplacementMarker, isUsedForDisplay, processAction, setAction, setActions, setChild, setContent, setParent, setReplacementContent, setReplacementMarker, setUsedForDisplayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getParent, getPresentation_name, isMandatory, isUniquepublic HtmlTr displayForSearch(java.lang.String value, Theme theme)
IDrawFieldA Search form displays the fields similar to an update form, where the operator enters information for a search in the presented fields.
displayForSearch in interface IDrawFieldpublic HtmlTr[] displayForAdd(java.lang.String value, Theme theme)
IDrawFieldAn Add form displays the fields similar to an update form, where the operator enters information for a new record in the presented fields.
displayForAdd in interface IDrawFieldpublic HtmlTr[] displayForView(CommonFormFields callingAction, java.lang.String value, Theme theme)
public HtmlTr[] displayForUpdate(java.lang.String value, Theme theme)
IDrawFieldAn Update form displays the fields for editing, where the operator edits the presented fields.
displayForUpdate in interface IDrawFieldpublic void setLabelPosition(java.lang.String position)
public Html displayForList(IExecContext execContext, Field field, java.lang.String value, Theme theme)
IDrawFieldA List form displays rows of records in a table presentation.
displayForList in interface IDrawFieldfield - - may be used to overwrite configuration settings.public Html buildAddHtml(java.lang.String value, Theme theme)
IDrawFieldbuildAddHtml in interface IDrawFieldpublic Html buildUpdateHtml(java.lang.String value, Theme theme)
IDrawFieldbuildUpdateHtml in interface IDrawFieldpublic boolean isMultiSelect()
public boolean isSingleSelect()
public void setSelect(java.lang.String select)
public java.lang.String getSelect()
public Field getHtmlField()
public void setHtmlField(Field field)
public Html buildViewHtml(java.lang.String value, Theme theme)
IDrawFieldbuildViewHtml in interface IDrawFieldpublic Html[] displayForView(CommonFormFields callingAction, Field field, java.lang.String value, Theme theme)
IDrawFieldA View form displays the fields similar to an update form, where the operator views the presented field information without the option to edit.
displayForView in interface IDrawField