Class UnsupportedValue

  • All Implemented Interfaces:
    DefaultValue

    public class UnsupportedValue
    extends java.lang.Object
    implements DefaultValue
    Used for not yet supported default values.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnsupportedValue

        public UnsupportedValue()
    • 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 interface DefaultValue
        Parameters:
        field - the field containing the value
        originalString - 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)