Class SysDateAndTime
- java.lang.Object
-
- com.saperion.ngc.iform.field.defaultValue.SysDateAndTime
-
- All Implemented Interfaces:
DefaultValue
public class SysDateAndTime extends java.lang.Object implements DefaultValue
Default value forSysDate
andSysTime
.
-
-
Constructor Summary
Constructors Constructor Description SysDateAndTime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
handleValue(IntelligentField field, java.lang.String originalString)
Handles the default value.
-
-
-
Method Detail
-
handleValue
public java.lang.String handleValue(IntelligentField field, java.lang.String originalString)
Handles the default value. If possible, this method returns a translated string to display in the field. It is also possible to listen to events on the field and set the value accordingly.- Specified by:
handleValue
in interfaceDefaultValue
- Parameters:
field
- the field containing the valueoriginalString
- original string from the mask definition- Returns:
- the translated string of this DefaultValue if possible
- See Also:
(com.saperion.ngc.iform.field.IntelligentField, java.lang.String)
-
-