Class DefaultLongDisplayConverter
java.lang.Object
org.eclipse.nebula.widgets.nattable.data.convert.DisplayConverter
org.eclipse.nebula.widgets.nattable.data.convert.NumericDisplayConverter
org.eclipse.nebula.widgets.nattable.data.convert.DefaultLongDisplayConverter
- All Implemented Interfaces:
IDisplayConverter
- Direct Known Subclasses:
DefaultBigIntegerDisplayConverter
Converts the display value to a long and vice versa.
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.nattable.data.convert.NumericDisplayConverter
nf
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a converter that usesNumberFormat
.DefaultLongDisplayConverter
(boolean useNumberFormat) Creates a converter and allows to specify whetherNumberFormat
should be used or not. -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.data.convert.NumericDisplayConverter
canonicalToDisplayValue, displayToCanonicalValue, getNumberFormat, setNumberFormat
Methods inherited from class org.eclipse.nebula.widgets.nattable.data.convert.DisplayConverter
canonicalToDisplayValue, displayToCanonicalValue
-
Constructor Details
-
DefaultLongDisplayConverter
public DefaultLongDisplayConverter()Creates a converter that usesNumberFormat
. -
DefaultLongDisplayConverter
public DefaultLongDisplayConverter(boolean useNumberFormat) Creates a converter and allows to specify whetherNumberFormat
should be used or not.- Parameters:
useNumberFormat
-true
if aNumberFormat
should be used,false
if not.- Since:
- 1.4
-
-
Method Details
-
convertToNumericValue
- Specified by:
convertToNumericValue
in classNumericDisplayConverter
-