Interface EditorProvider<T>

    • Method Detail

      • getEditor

        ColumnConstraintEditor<T> getEditor​(ColumnConstraint<T> columnConstraint,
                                            ColumnData<T> columnData)
        Returns an editor initialized to the given columnConstraint.
        Parameters:
        columnConstraint - the constraint whose value is to be edited.
        columnData - the context of the data in the table.
        Returns:
        an editor initialized to the given columnConstraint.
      • parseValue

        T parseValue​(java.lang.String value,
                     java.lang.Object dataSource)
        Parses the given string into a T object.
        Parameters:
        value - the value to parse.
        dataSource - the table's context object.
        Returns:
        a new T object created by parsing the given string.
      • toString

        java.lang.String toString​(T value)
        Converts the T value into a string that can be parsed back by the parseValue(String, Object) method.
        Parameters:
        value - the value to convert to a parsable string.
        Returns:
        The parsable string fromthe T value.