public class ViewRowAttrHintsImpl extends RowAttrHintsImpl
AttributeDefAttributeHints.ControlType| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PNAME_CONTEXTUAL_HINT_SUFFIX |
static java.lang.String |
RES_ID_SUFFIX |
ATTRIBUTE_AUTOSUBMIT, ATTRIBUTE_BINDEDITOR_LABEL, ATTRIBUTE_CTL_CATEGORY, ATTRIBUTE_CTL_DISPLAYHEIGHT, ATTRIBUTE_CTL_DISPLAYWIDTH, ATTRIBUTE_CTL_FIELD_ORDER, ATTRIBUTE_CTL_FORMTYPE, ATTRIBUTE_CTL_TYPE, ATTRIBUTE_DEFINITION_STATE, ATTRIBUTE_DISPLAY_HINT, ATTRIBUTE_DISPLAY_HINT_DISPLAY, ATTRIBUTE_DISPLAY_HINT_HIDE, ATTRIBUTE_FORM_TYPE_DETAIL, ATTRIBUTE_FORM_TYPE_SHORT, ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_PLURAL, ATTRIBUTE_LOVNAME, ATTRIBUTE_PAYLOAD_HINT, ATTRIBUTE_PAYLOAD_HINT_HIDE, ATTRIBUTE_PAYLOAD_HINT_SHOW, ATTRIBUTE_REQUIRED_HINT, ATTRIBUTE_REQUIRED_HINT_OPTIONAL, ATTRIBUTE_REQUIRED_HINT_REQUIRED, ATTRIBUTE_REQUIRED_HINT_SELECTIVELY_REQUIRED, ATTRIBUTE_TIMEZONE_ID, ATTRIBUTE_TOOLTIP, CTL_CHECK_BOX, CTL_CHOICE_LIST, CTL_COMBO_BOX, CTL_COMBO_BOX_LOV, CTL_DATE, CTL_DEFAULT, CTL_DELIMITEDIDS_CHOICE, CTL_EDIT, CTL_IMAGE, CTL_INPUT_TEXT_LOV, CTL_LIST_BOX, CTL_NUMBER_EDIT, CTL_RADIO_GROUP, CTLTYPE_CHECKBOX, CTLTYPE_COMBO, CTLTYPE_COMBOLOV, CTLTYPE_DATE, CTLTYPE_DEFAULT, CTLTYPE_DELIMITEDIDS_CHOICE, CTLTYPE_EDIT, CTLTYPE_IMAGE, CTLTYPE_LIST, CTLTYPE_LISTBOX, CTLTYPE_LOV, CTLTYPE_NUMEDIT, CTLTYPE_RADIOGRP, CTLTYPE_TOGGLE, FMT_FORMAT, FMT_FORMATTER, HINT_NAME_AUTOSUBMIT, HINT_NAME_CATEGORY, HINT_NAME_CTL_TYPE, HINT_NAME_DESCRIPTION, HINT_NAME_DISPLAY_HEIGHT, HINT_NAME_DISPLAY_HINT, HINT_NAME_DISPLAY_WIDTH, HINT_NAME_FIELD_ORDER, HINT_NAME_FORMAT, HINT_NAME_LABEL, HINT_NAME_LABEL_PLURAL, HINT_NAME_LOVNAME, HINT_NAME_MANDATORY, HINT_NAME_MAX_LENGTH, HINT_NAME_MAX_VALUE, HINT_NAME_MIN_LENGTH, HINT_NAME_MIN_VALUE, HINT_NAME_PAYLOAD_HINT, HINT_NAME_SECRET, HINT_NAME_TIMEZONEID, HINT_NAME_TOOLTIP, HINT_NAME_UPDATEABLE, HINT_NAME_WATERMARK, PNAME_Button, PNAME_ButtonGroup, PNAME_ComboBox, PNAME_ComboBoxLovEdit, PNAME_ENSURE_KEY_ATTR, PNAME_EnumList, PNAME_LovButton, PNAME_ROWNUMATTR, PNAME_SOURCENAME_ACCESSOR, PNAME_SOURCENAME_ATTR, PNAME_TextFieldDEFINITION_STATE_ACTIVE, DEFINITION_STATE_DEPRECATED, PROPERTY_DEFINITION_STATE, PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP| Modifier | Constructor and Description |
|---|---|
protected |
ViewRowAttrHintsImpl() |
protected |
ViewRowAttrHintsImpl(AttributeDefImpl attr,
ViewRowImpl viewRow) |
| Modifier and Type | Method and Description |
|---|---|
java.util.HashMap |
getAllHints(LocaleContext localeCtx) |
protected AttributeHints |
getAttributeHintsInternal(java.lang.String hintName,
LocaleContext lctx) |
java.lang.String[][] |
getCompOpers(LocaleContext locale)
Returns a Map of operators for this attribute.
|
protected ExprValueSupplier |
getExprValueSupplier() |
protected AttributeHints |
getFormatAttributeHintsInternal(LocaleContext localeCtx) |
java.lang.String |
getFormattedAttribute(AttributeList attrList,
LocaleContext localeCtx)
Returns the formatted value for the attribute.
|
java.lang.String |
getFormatterClassName(LocaleContext localeCtx)
returns the formatter class stored in the ui hints
|
java.lang.String |
getLabel(LocaleContext localeCtx)
Retrieves the label to be used in any attribute prompts
|
java.lang.String |
getLocaleName(LocaleContext locale,
java.lang.String sName)
function for retrieving the locale name of a hint
|
java.lang.String |
getLOVName()
Returns the name of the LOV defined on this attribute.
|
java.lang.String |
getPayloadHint(LocaleContext locale)
Retrieves the payload hint that dictates whether this
attribute should be included in service payload or not.
|
protected ViewAttributeDefImpl |
getViewAttributeDef() |
protected ViewDefImpl |
getViewDefImpl() |
protected ViewObjectImpl |
getViewObjectImpl() |
protected ViewRowImpl |
getViewRow() |
protected void |
initUsageLevelHintsAttribute(ViewAttributeDefImpl vattr,
java.lang.String suffix) |
boolean |
isAutoSubmit(LocaleContext localeCtx)
Returns autoSubmit value for this attribute.
|
void |
resetHintsSuffix(java.lang.String suffix)
Deprecated.
|
displayInShortForm, getCategory, getControlType, getDefinitionState, getDisplayHeight, getDisplayHint, getDisplayWidth, getFieldOrder, getFormat, getFormatter, getHint, getHintValue, getLabelPlural, getTooltip, hasFormatInformation, parseFormattedAttribute, prepareDefLocaleContext, switchEvalFlagOnLocaleContextpublic static final java.lang.String PNAME_CONTEXTUAL_HINT_SUFFIX
public static final java.lang.String RES_ID_SUFFIX
protected ViewRowAttrHintsImpl()
protected ViewRowAttrHintsImpl(AttributeDefImpl attr, ViewRowImpl viewRow)
protected final void initUsageLevelHintsAttribute(ViewAttributeDefImpl vattr, java.lang.String suffix)
protected ViewDefImpl getViewDefImpl()
protected ViewObjectImpl getViewObjectImpl()
protected ViewRowImpl getViewRow()
protected ExprValueSupplier getExprValueSupplier()
protected ViewAttributeDefImpl getViewAttributeDef()
protected AttributeHints getFormatAttributeHintsInternal(LocaleContext localeCtx)
getFormatAttributeHintsInternal in class RowAttrHintsImplprotected AttributeHints getAttributeHintsInternal(java.lang.String hintName, LocaleContext lctx)
getAttributeHintsInternal in class RowAttrHintsImplpublic java.lang.String getLabel(LocaleContext localeCtx)
GenericHintsgetLabel in interface GenericHintsgetLabel in class RowAttrHintsImplpublic java.lang.String getFormatterClassName(LocaleContext localeCtx)
AttributeHintsgetFormatterClassName in interface AttributeHintsgetFormatterClassName in class RowAttrHintsImplpublic java.lang.String getFormattedAttribute(AttributeList attrList, LocaleContext localeCtx)
AttributeHintsgetFormattedAttribute in interface AttributeHintsgetFormattedAttribute in class RowAttrHintsImplpublic java.lang.String getLocaleName(LocaleContext locale, java.lang.String sName)
AttributeHintsgetLocaleName in interface AttributeHintsgetLocaleName in class RowAttrHintsImplpublic java.lang.String[][] getCompOpers(LocaleContext locale)
AttributeHintsgetCompOpers in interface AttributeHintsgetCompOpers in class RowAttrHintsImplpublic java.lang.String getLOVName()
AttributeHintsgetLOVName in interface AttributeHintsgetLOVName in class RowAttrHintsImplpublic boolean isAutoSubmit(LocaleContext localeCtx)
AttributeHintsisAutoSubmit in interface AttributeHintsisAutoSubmit in class RowAttrHintsImplpublic java.lang.String getPayloadHint(LocaleContext locale)
AttributeHintsgetPayloadHint in interface AttributeHintsgetPayloadHint in class RowAttrHintsImplpublic java.util.HashMap getAllHints(LocaleContext localeCtx)
public void resetHintsSuffix(java.lang.String suffix)