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