Class UnsignedLongConstraintEditorProvider

  • All Implemented Interfaces:
    EditorProvider<java.math.BigInteger>

    public class UnsignedLongConstraintEditorProvider
    extends java.lang.Object
    implements EditorProvider<java.math.BigInteger>
    Provides an editor for editing constraints for unsigned 64 bit values.
    • Constructor Detail

      • UnsignedLongConstraintEditorProvider

        public UnsignedLongConstraintEditorProvider()
    • Method Detail

      • getEditor

        public ColumnConstraintEditor<java.math.BigInteger> getEditor​(ColumnConstraint<java.math.BigInteger> columnConstraint,
                                                                      ColumnData<java.math.BigInteger> columnDataSource)
        Description copied from interface: EditorProvider
        Returns an editor initialized to the given columnConstraint.
        Specified by:
        getEditor in interface EditorProvider<java.math.BigInteger>
        Parameters:
        columnConstraint - the constraint whose value is to be edited.
        columnDataSource - the context of the data in the table.
        Returns:
        an editor initialized to the given columnConstraint.
      • parseValue

        public java.math.BigInteger parseValue​(java.lang.String value,
                                               java.lang.Object dataSource)
        Description copied from interface: EditorProvider
        Parses the given string into a T object.
        Specified by:
        parseValue in interface EditorProvider<java.math.BigInteger>
        Parameters:
        value - the value to parse.
        dataSource - the table's context object.
        Returns:
        a new T object created by parsing the given string.
      • toString

        public java.lang.String toString​(java.math.BigInteger value)
        Description copied from interface: EditorProvider
        Converts the T value into a string that can be parsed back by the EditorProvider.parseValue(String, Object) method.
        Specified by:
        toString in interface EditorProvider<java.math.BigInteger>
        Parameters:
        value - the value to convert to a parsable string.
        Returns:
        The parsable string fromthe T value.