Class NoScalingDpiConverter
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.AbstractDpiConverter
org.eclipse.nebula.widgets.nattable.layer.NoScalingDpiConverter
- All Implemented Interfaces:
IDpiConverter
Default implementation of an
IDpiConverter that returns a scaling
factor of 1.0f with 96 dots per inch.- Since:
- 2.0
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractDpiConverter
dpi, scaleFactor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidSets the value for the dpi member variable.Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractDpiConverter
convertDpiToPixel, convertPixelToDpi, getCurrentDpiFactor, getDpi
-
Constructor Details
-
NoScalingDpiConverter
public NoScalingDpiConverter()
-
-
Method Details
-
readDpiFromDisplay
protected void readDpiFromDisplay()Description copied from class:AbstractDpiConverterSets the value for the dpi member variable.IMPORTANT:
Ensure the load operation is done in the UI thread!- Specified by:
readDpiFromDisplayin classAbstractDpiConverter
-