public class DrawHtmlField
extends java.lang.Object
| Constructor and Description |
|---|
DrawHtmlField() |
| Modifier and Type | Method and Description |
|---|---|
static HtmlTd |
buildDisplayHeader(Theme theme,
java.lang.String tooltip,
java.lang.String presentationName,
boolean isMandatory,
boolean isUnique) |
static java.lang.String |
buildPresentationName(java.lang.String presentationName,
boolean isMandatory,
boolean isUnique) |
static HtmlSelect |
buildSelect(Theme theme,
java.lang.String tooltip,
java.lang.String presentationName,
java.lang.String[] ids,
java.lang.String[] labels,
java.lang.String[] tooltips,
java.lang.String selected) |
static HtmlTr[] |
displayForAdd(CommonStorageField commonStorageField,
java.lang.String value,
java.lang.String label_position,
Theme theme) |
static Html |
displayForList(CommonStorageField commonStorageField,
java.lang.String value,
Theme theme) |
static HtmlTr |
displayForSearch(CommonStorageField commonStorageField,
java.lang.String value,
Theme theme) |
static HtmlTr |
displayForSearch(CommonStorageField commonStorageField,
java.lang.String value,
Theme theme,
java.lang.String name) |
static HtmlTr[] |
displayForSelect(IExecContext execContext,
CommonStorageField commonStorageField,
java.lang.String selectId,
java.lang.String selectIdentifier,
java.lang.String label_position,
Theme theme,
java.lang.String[] ids,
java.lang.String[] labels,
java.lang.String[] tooltips,
java.lang.String selected)
Builds a html select drop down list.
|
static HtmlTr[] |
displayForSelect(IExecContext execContext,
CommonStorageField commonStorageField,
java.lang.String label_position,
Theme theme,
HtmlSelect select)
Builds a html select drop down list into a tr.
|
static HtmlTr[] |
displayForUpdate(CommonStorageField commonStorageField,
java.lang.String value,
java.lang.String label_position,
Theme theme) |
static HtmlTr[] |
displayForView(CommonFormFields callingAction,
CommonStorageField commonStorageField,
java.lang.String value,
java.lang.String label_position,
Theme theme) |
static HtmlTd |
displayHeader(CommonStorageField commonStorageField,
Theme theme) |
public static HtmlTr displayForSearch(CommonStorageField commonStorageField, java.lang.String value, Theme theme)
public static HtmlTr displayForSearch(CommonStorageField commonStorageField, java.lang.String value, Theme theme, java.lang.String name)
public static HtmlTr[] displayForAdd(CommonStorageField commonStorageField, java.lang.String value, java.lang.String label_position, Theme theme)
public static HtmlTr[] displayForView(CommonFormFields callingAction, CommonStorageField commonStorageField, java.lang.String value, java.lang.String label_position, Theme theme)
public static Html displayForList(CommonStorageField commonStorageField, java.lang.String value, Theme theme)
public static HtmlTr[] displayForUpdate(CommonStorageField commonStorageField, java.lang.String value, java.lang.String label_position, Theme theme)
public static HtmlTd displayHeader(CommonStorageField commonStorageField, Theme theme)
commonStorageField - theme - public static HtmlTd buildDisplayHeader(Theme theme, java.lang.String tooltip, java.lang.String presentationName, boolean isMandatory, boolean isUnique)
theme - tooltip - presentationName - isMandatory - isUnique - public static java.lang.String buildPresentationName(java.lang.String presentationName,
boolean isMandatory,
boolean isUnique)
public static HtmlTr[] displayForSelect(IExecContext execContext, CommonStorageField commonStorageField, java.lang.String selectId, java.lang.String selectIdentifier, java.lang.String label_position, Theme theme, java.lang.String[] ids, java.lang.String[] labels, java.lang.String[] tooltips, java.lang.String selected)
execContext - commonStorageField - selectId - the select element id used if we want to ajax redraw the select.label_position - theme - ids - labels - selected - public static HtmlTr[] displayForSelect(IExecContext execContext, CommonStorageField commonStorageField, java.lang.String label_position, Theme theme, HtmlSelect select)
execContext - commonStorageField - label_position - theme - select - public static HtmlSelect buildSelect(Theme theme, java.lang.String tooltip, java.lang.String presentationName, java.lang.String[] ids, java.lang.String[] labels, java.lang.String[] tooltips, java.lang.String selected)