Class UnsignedLongConstraintEditorProvider
java.lang.Object
docking.widgets.table.constrainteditor.UnsignedLongConstraintEditorProvider
- All Implemented Interfaces:
EditorProvider<BigInteger>
public class UnsignedLongConstraintEditorProvider
extends Object
implements EditorProvider<BigInteger>
Provides an editor for editing constraints for unsigned 64 bit values.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEditor
(ColumnConstraint<BigInteger> columnConstraint, ColumnData<BigInteger> columnDataSource) 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
-
UnsignedLongConstraintEditorProvider
public UnsignedLongConstraintEditorProvider()
-
-
Method Details
-
getEditor
public ColumnConstraintEditor<BigInteger> getEditor(ColumnConstraint<BigInteger> columnConstraint, ColumnData<BigInteger> columnDataSource) 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.columnDataSource
- 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.
-