Class FieldLink
- java.lang.Object
-
- com.saperion.ngc.iform.field.defaultValue.FieldLink
-
- All Implemented Interfaces:
DefaultValue
public class FieldLink extends java.lang.Object implements DefaultValue
Handles default values with links to other fields.
-
-
Constructor Summary
Constructors Constructor Description FieldLink()
-
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)
Description copied from interface:DefaultValue
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
-
-