public class YesNoUIDefinition extends UIDefinition
log
Constructor and Description |
---|
YesNoUIDefinition() |
Modifier and Type | Method and Description |
---|---|
String |
convertToClassicString(Object value)
Creates a classic string which is used by callouts from an object value.
|
String |
getFieldProperties(Field field)
Computes properties to initialize and set the field in a Smartclient form.
|
String |
getFieldProperties(Field field,
boolean getValueFromSession)
Computes properties to initialize and set the field in a Smartclient form.
|
String |
getFilterEditorType() |
String |
getFormEditorType() |
String |
getGridEditorFieldProperties(Field field)
Computes properties to initialize and set the field in a Smartclient grid cell when it is being
edited.
|
String |
getGridFieldProperties(Field field)
Computes properties to initialize and set the field in a Smartclient grid cell.
|
String |
getParentType() |
String |
getTypeProperties()
Computes the properties used to define the type, this includes all the Smartclient SimpleType
properties.
|
createFromClassicString, createJsonValueFromClassicValueString, establishGridConfigurationSettings, formatValueFromSQL, formatValueToSQL, getCellAlign, getDataSourceParameters, getDefaultValue, getDefaultValueFromSQLExpression, getDomainType, getFieldPropertiesFirstRecord, getFieldPropertiesWithoutCombo, getFilterEditorProperties, getFilterEditorPropertiesProperty, getGridEditorType, getGridFieldName, getName, getParameterProperties, getParameterWidth, getReadOnlyEditorType, getReference, getSafeBoolean, getShowHoverGridFieldSettings, getValueFromSQLDefault, getValueInComboReference, getValueInComboReference, parseSQL, readGridConfigurationSetting, removeAttributeFromString, setReference, showHover
public String getParentType()
getParentType
in class UIDefinition
public String getFilterEditorType()
getFilterEditorType
in class UIDefinition
UIDefinition.getFormEditorType()
public String getFormEditorType()
getFormEditorType
in class UIDefinition
public String getFieldProperties(Field field)
UIDefinition
getFieldProperties
in class UIDefinition
field
- the field for which the information should be computed. NOTE: the caller is allowed to
pass null for cases where the field properties are needed for a FormItem which is not
backed by an Openbravo field.public String getTypeProperties()
UIDefinition
getTypeProperties
in class UIDefinition
public String getGridEditorFieldProperties(Field field)
UIDefinition
getGridEditorFieldProperties
in class UIDefinition
field
- the field for which the information should be computed.public String getGridFieldProperties(Field field)
UIDefinition
getGridFieldProperties
in class UIDefinition
field
- the field for which the information should be computed.public String convertToClassicString(Object value)
UIDefinition
convertToClassicString
in class UIDefinition
public String getFieldProperties(Field field, boolean getValueFromSession)
UIDefinition
getFieldProperties
in class UIDefinition
field
- the field for which the information should be computed.