Class AbsoluteDateTimeUIDefinition
- java.lang.Object
-
- org.openbravo.client.kernel.reference.UIDefinition
-
- org.openbravo.client.kernel.reference.DateUIDefinition
-
- org.openbravo.client.kernel.reference.AbsoluteDateTimeUIDefinition
-
public class AbsoluteDateTimeUIDefinition extends DateUIDefinition
Implementation of the absolute date time ui definition.- Author:
- dbaz
-
-
Field Summary
-
Fields inherited from class org.openbravo.client.kernel.reference.UIDefinition
log
-
-
Constructor Summary
Constructors Constructor Description AbsoluteDateTimeUIDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
createFromClassicString(String value)
Convert a string value as used in classic OB to a type safe value.protected SimpleDateFormat
getClassicFormat()
protected String
getClientFormatObject()
String
getFormEditorType()
String
getParentType()
-
Methods inherited from class org.openbravo.client.kernel.reference.DateUIDefinition
convertToClassicString, getCellAlign, getFieldProperties, getFilterEditorProperties, getFilterEditorType, getFormat, getParameterWidth, getTypeProperties, getValueFromSQLDefault, parse
-
Methods inherited from class org.openbravo.client.kernel.reference.UIDefinition
createJsonValueFromClassicValueString, establishGridConfigurationSettings, formatValueFromSQL, formatValueToSQL, getDataSourceParameters, getDefaultValue, getDefaultValueFromSQLExpression, getDomainType, getFieldProperties, getFieldPropertiesFirstRecord, getFieldPropertiesWithoutCombo, getFilterEditorPropertiesProperty, getGridEditorFieldProperties, getGridEditorType, getGridFieldName, getGridFieldProperties, getName, getParameterProperties, getReadOnlyEditorType, getReference, getSafeBoolean, getShowHoverGridFieldSettings, getValueInComboReference, getValueInComboReference, parseSQL, readGridConfigurationSetting, removeAttributeFromString, setReference, showHover
-
-
-
-
Method Detail
-
getParentType
public String getParentType()
- Overrides:
getParentType
in classDateUIDefinition
- Returns:
- the Smartclient type from which this type inherits.
-
getFormEditorType
public String getFormEditorType()
- Overrides:
getFormEditorType
in classDateUIDefinition
- Returns:
- the form item type used for editing this reference in a form.
-
getClientFormatObject
protected String getClientFormatObject()
- Overrides:
getClientFormatObject
in classDateUIDefinition
-
getClassicFormat
protected SimpleDateFormat getClassicFormat()
- Overrides:
getClassicFormat
in classDateUIDefinition
-
createFromClassicString
public Object createFromClassicString(String value)
Description copied from class:UIDefinition
Convert a string value as used in classic OB to a type safe value.- Overrides:
createFromClassicString
in classDateUIDefinition
- See Also:
PrimitiveDomainType.createFromString(String)
-
-