Class DefaultVerticalDpiConverter
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.layer.AbstractDpiConverter
-
- org.eclipse.nebula.widgets.nattable.layer.DefaultVerticalDpiConverter
-
- All Implemented Interfaces:
IDpiConverter
public class DefaultVerticalDpiConverter extends AbstractDpiConverter
Default implementation of anIDpiConverter
that provides the vertical dots per inch from the default display viaDevice.getDPI()
.- Since:
- 2.0
-
-
Field Summary
-
Fields inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractDpiConverter
dpi, scaleFactor
-
-
Constructor Summary
Constructors Constructor Description DefaultVerticalDpiConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
readDpiFromDisplay()
Sets the value for the dpi member variable.-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.AbstractDpiConverter
convertDpiToPixel, convertPixelToDpi, getCurrentDpiFactor, getDpi
-
-
-
-
Method Detail
-
readDpiFromDisplay
protected void readDpiFromDisplay()
Description copied from class:AbstractDpiConverter
Sets the value for the dpi member variable.IMPORTANT:
Ensure the load operation is done in the UI thread!- Specified by:
readDpiFromDisplay
in classAbstractDpiConverter
-
-