public class XItemRenderData extends AXItemPropertiesData
Modifier and Type | Class and Description |
---|---|
class |
XItemRenderData.I18N |
class |
XItemRenderData.Value |
Modifier and Type | Field and Description |
---|---|
XItemRenderData.I18N |
i18n |
XItemRenderData.Value |
value |
propertyMap, version
Constructor and Description |
---|
XItemRenderData(String className,
Map<String,XPropertyValue> propertyMap,
IXFormRenderConfig xFormRenderConfig,
Map<String,List<String[]>> valuesMap,
boolean forceDisabled)
|
XItemRenderData(String className,
Map<String,XPropertyValue> propertyMap,
IXFormRenderConfig xFormRenderConfig,
Map<String,List<String[]>> valuesMap,
boolean forceDisabled,
com.alibaba.fastjson.JSONObject version)
Creates a new render data object that stores all the properties of an item and offers methods to access them.
|
Modifier and Type | Method and Description |
---|---|
String |
getCssHtmlAttrString()
Delivers a String of used CSS classes for use in an HTML class attribute including the class XItem and the
simpleName of rendered class (f.e.
|
protected String |
getDatasourceField(com.alibaba.fastjson.JSONObject options,
XPropertyEnum fieldEnum,
String fieldName) |
String |
getOptionText(com.alibaba.fastjson.JSONObject opt) |
String |
getOptionValue(com.alibaba.fastjson.JSONObject opt) |
XItemRenderData |
getProperties() |
String |
getStyleHtmlAttrString() |
XItemRenderData.Value |
getValue() |
Map<String,List<String[]>> |
getValuesMap() |
IXFormRenderConfig |
getXFormRenderConfig() |
boolean |
isDisabled() |
boolean |
isForceDisabled() |
boolean |
isHidden() |
boolean |
isPlainDisabled() |
boolean |
isReadonly() |
void |
setForceDisabled(boolean forceDisabled) |
void |
setValuesMap(Map<String,List<String[]>> valuesMap) |
void |
setXFormRenderConfig(IXFormRenderConfig xFormRenderConfig) |
contains, contains, get, get, getAttributes, getClassName, getDatatype, getEquals, getFileextension, getHiddenif, getHiddenifclear, getHiddenifcomp, getHiddenifvalue, getId, getMaxfilesize, getMaxvalue, getMinvalue, getName, getOptions, getParentId, getPropertyMap, getReadonlyif, getReadonlyifclear, getReadonlyifcomp, getReadonlyifvalue, getRequired, getRequiredgroup, getRequiredif, getRequiredifcomp, getRequiredifvalue, getSemver, getVersion, getVrule, isReadonlyStatusdependent, isReadonlyUsergrouppendant, isStatusdependent, isUsergrouppendent, isValidateOnServerSide, put, set, set, setClassName
public XItemRenderData.Value value
public XItemRenderData.I18N i18n
public XItemRenderData(String className, Map<String,XPropertyValue> propertyMap, IXFormRenderConfig xFormRenderConfig, Map<String,List<String[]>> valuesMap, boolean forceDisabled, com.alibaba.fastjson.JSONObject version)
@Deprecated public XItemRenderData(String className, Map<String,XPropertyValue> propertyMap, IXFormRenderConfig xFormRenderConfig, Map<String,List<String[]>> valuesMap, boolean forceDisabled)
public IXFormRenderConfig getXFormRenderConfig()
public void setXFormRenderConfig(IXFormRenderConfig xFormRenderConfig)
public boolean isForceDisabled()
public void setForceDisabled(boolean forceDisabled)
public XItemRenderData getProperties()
public String getOptionValue(com.alibaba.fastjson.JSONObject opt)
public String getOptionText(com.alibaba.fastjson.JSONObject opt)
protected String getDatasourceField(com.alibaba.fastjson.JSONObject options, XPropertyEnum fieldEnum, String fieldName)
public XItemRenderData.Value getValue()
public String getCssHtmlAttrString()
public String getStyleHtmlAttrString()
public boolean isReadonly()
public boolean isDisabled()
true
iff: readonly equals 1
or disabled
equals 1
or forceDisabled
is set to true
isPlainDisabled()
public boolean isPlainDisabled()
true
iff: readonly equals 1
or disabled
equals 1
.isDisabled()
public boolean isHidden()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.