Class FixedScalingDpiConverter
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.AbstractDpiConverter
org.eclipse.nebula.widgets.nattable.layer.FixedScalingDpiConverter
- All Implemented Interfaces:
IDpiConverter
Default implementation of an
IDpiConverter that scales according to
the set dpi.- 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
-
FixedScalingDpiConverter
public FixedScalingDpiConverter(int dpi)
-
-
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
-