Class DefaultVerticalDpiConverter
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.AbstractDpiConverter
org.eclipse.nebula.widgets.nattable.layer.DefaultVerticalDpiConverter
- All Implemented Interfaces:
IDpiConverter
Default implementation of an
IDpiConverter that provides the vertical
dots per inch from the default display via Device.getDPI().- 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
-
DefaultVerticalDpiConverter
public DefaultVerticalDpiConverter()
-
-
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
-