public interface IDrawField
| 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.
|
java.lang.String |
getName()
Name of the field, matches the field name in the database table.
|
BaseAction |
getParent() |
java.lang.String |
getPresentation_name() |
boolean |
isMandatory() |
boolean |
isUnique() |
BaseAction getParent()
boolean isMandatory()
boolean isUnique()
java.lang.String getPresentation_name()
java.lang.String getName()
HtmlTr displayForSearch(java.lang.String value, Theme theme)
A Search form displays the fields similar to an update form, where the operator enters information for a search in the presented fields.
value - theme - HtmlTr[] displayForAdd(java.lang.String value, Theme theme)
An Add form displays the fields similar to an update form, where the operator enters information for a new record in the presented fields.
value - theme - Html[] displayForView(CommonFormFields callingAction, Field field, java.lang.String value, Theme theme)
A View form displays the fields similar to an update form, where the operator views the presented field information without the option to edit.
callingAction - value - theme - Html displayForList(IExecContext execContext, Field field, java.lang.String value, Theme theme)
A List form displays rows of records in a table presentation.
execContext - field - - may be used to overwrite configuration settings.value - theme - HtmlTr[] displayForUpdate(java.lang.String value, Theme theme)
An Update form displays the fields for editing, where the operator edits the presented fields.
value - theme - Html buildAddHtml(java.lang.String value, Theme theme)
value - theme - Html buildUpdateHtml(java.lang.String value, Theme theme)
value - theme -