Class BooleanUIDefinition
- java.lang.Object
-
- org.openbravo.client.kernel.reference.UIDefinition
-
- org.openbravo.client.kernel.reference.BooleanUIDefinition
-
@Deprecated public class BooleanUIDefinition extends UIDefinition
Deprecated.Implementation of the boolean ui definition.- Author:
- mtaal
-
-
Field Summary
-
Fields inherited from class org.openbravo.client.kernel.reference.UIDefinition
log
-
-
Constructor Summary
Constructors Constructor Description BooleanUIDefinition()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
convertToClassicString(Object value)
Deprecated.Creates a classic string which is used by callouts from an object value.String
getFieldProperties(Field field, boolean getValueFromSession)
Deprecated.Computes properties to initialize and set the field in a Smartclient form.String
getFormEditorType()
Deprecated.String
getParentType()
Deprecated.String
getTypeProperties()
Deprecated.Computes the properties used to define the type, this includes all the Smartclient SimpleType properties.-
Methods inherited from class org.openbravo.client.kernel.reference.UIDefinition
createFromClassicString, createJsonValueFromClassicValueString, establishGridConfigurationSettings, formatValueFromSQL, formatValueToSQL, getCellAlign, getDataSourceParameters, getDefaultValue, getDefaultValueFromSQLExpression, getDomainType, getFieldProperties, getFieldPropertiesFirstRecord, getFieldPropertiesWithoutCombo, getFilterEditorProperties, getFilterEditorPropertiesProperty, getFilterEditorType, getGridEditorFieldProperties, getGridEditorType, getGridFieldName, getGridFieldProperties, getName, getParameterProperties, getParameterWidth, getReadOnlyEditorType, getReference, getSafeBoolean, getShowHoverGridFieldSettings, getValueFromSQLDefault, getValueInComboReference, getValueInComboReference, parseSQL, readGridConfigurationSetting, removeAttributeFromString, setReference, showHover
-
-
-
-
Method Detail
-
getParentType
public String getParentType()
Deprecated.- Overrides:
getParentType
in classUIDefinition
- Returns:
- the Smartclient type from which this type inherits.
-
getFormEditorType
public String getFormEditorType()
Deprecated.- Overrides:
getFormEditorType
in classUIDefinition
- Returns:
- the form item type used for editing this reference in a form.
-
getTypeProperties
public String getTypeProperties()
Deprecated.Computes the properties used to define the type, this includes all the Smartclient SimpleType properties.- Overrides:
getTypeProperties
in classUIDefinition
- Returns:
- a javascript string which can be included in the javascript defining the SimpleType. The default implementation returns an empty string.
-
convertToClassicString
public String convertToClassicString(Object value)
Deprecated.Description copied from class:UIDefinition
Creates a classic string which is used by callouts from an object value.- Overrides:
convertToClassicString
in classUIDefinition
- Returns:
- the classic string
-
getFieldProperties
public String getFieldProperties(Field field, boolean getValueFromSession)
Deprecated.Description copied from class:UIDefinition
Computes properties to initialize and set the field in a Smartclient form. This can be the default value or the sets of values in the valuemap.- Overrides:
getFieldProperties
in classUIDefinition
- Parameters:
field
- the field for which the information should be computed.- Returns:
- a JSONObject string which is used to initialize the formitem.
-
-