Class UnsignedLongRangeEditorProvider
- java.lang.Object
-
- docking.widgets.table.constrainteditor.UnsignedLongRangeEditorProvider
-
- All Implemented Interfaces:
EditorProvider<java.math.BigInteger>
public class UnsignedLongRangeEditorProvider extends java.lang.Object implements EditorProvider<java.math.BigInteger>
-
-
Constructor Summary
Constructors Constructor Description UnsignedLongRangeEditorProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnConstraintEditor<java.math.BigInteger>
getEditor(ColumnConstraint<java.math.BigInteger> columnConstraint, ColumnData<java.math.BigInteger> columnData)
Returns an editor initialized to the given columnConstraint.java.math.BigInteger
parseValue(java.lang.String value, java.lang.Object dataSource)
Parses the given string into a T object.java.lang.String
toString(java.math.BigInteger value)
Converts the T value into a string that can be parsed back by theEditorProvider.parseValue(String, Object)
method.
-
-
-
Method Detail
-
getEditor
public ColumnConstraintEditor<java.math.BigInteger> getEditor(ColumnConstraint<java.math.BigInteger> columnConstraint, ColumnData<java.math.BigInteger> columnData)
Description copied from interface:EditorProvider
Returns an editor initialized to the given columnConstraint.- Specified by:
getEditor
in interfaceEditorProvider<java.math.BigInteger>
- 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
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 interfaceEditorProvider<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 theEditorProvider.parseValue(String, Object)
method.- Specified by:
toString
in interfaceEditorProvider<java.math.BigInteger>
- Parameters:
value
- the value to convert to a parsable string.- Returns:
- The parsable string fromthe T value.
-
-