Interface TextInput.TextBindMapping

  • Enclosing class:
    TextInput

    public static interface TextInput.TextBindMapping
    Translates between text and context data during data binding.
    • Method Detail

      • toString

        java.lang.String toString​(java.lang.Object value)
        Converts a value from the bind context to a text representation during a Component.load(Object) operation.
        Parameters:
        value - The value retrieved from the bound object.
        Returns:
        A text representation of this value for display.
      • valueOf

        java.lang.Object valueOf​(java.lang.String text)
        Converts a text string to a value to be stored in the bind context during a Component.store(Object) operation.
        Parameters:
        text - The current text from the control.
        Returns:
        A value suitable for storage in the bound object.