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
Constructors -
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:EditorProviderReturns an editor initialized to the given columnConstraint.- Specified by:
getEditorin 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:EditorProviderParses the given string into a T object.- Specified by:
parseValuein 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:EditorProviderConverts the T value into a string that can be parsed back by theEditorProvider.parseValue(String, Object)method.- Specified by:
toStringin interfaceEditorProvider<BigInteger>- Parameters:
value- the value to convert to a parsable string.- Returns:
- The parsable string fromthe T value.
-