Interface DefaultValue
-
- All Known Implementing Classes:
DocumentFolderPath
,FieldLink
,FileName
,SysDateAndTime
,UnsupportedValue
,UserInfos
public interface DefaultValue
Interface for classes representing a default value of a field.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
handleValue(IntelligentField field, java.lang.String originalString)
Handles the default value.
-
-
-
Method Detail
-
handleValue
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.- Parameters:
originalString
- original string from the mask definitionfield
- the field containing the value- Returns:
- the translated string of this DefaultValue if possible
-
-