| Modifier and Type | Field and Description |
|---|---|
| private static final String | BITS_PER_PIXEL
Sets the frame buffer color depth and pixel format: 8 for 8-bit grayscale in the Y8 pixel format, 16 for 16-bit color in the RGB565 pixel format, or 32 for 32-bit color in the ARGB32 pixel format. |
| private static final int | |
| private static final int[] | |
| pack-priv final int | |
| private static final String[] | |
| private static final String | FIX_WIDTH_Y8UR
Indicates whether to work around the bug found on devices, such as the
Kobo Clara HD Model N249, which require a screen width equal to the
visible x-resolution, instead of the normal virtual x-resolution, when
using an 8-bit, unrotated, and uninverted frame buffer in the Y8 pixel
format: |
| private final boolean | |
| private static final String | FLAG_ENABLE_INVERSION
Sets the update flag for pixel inversion: |
| private static final String | FLAG_FORCE_MONOCHROME
Sets the update flag for monochrome conversion: |
| private static final String | FLAG_USE_DITHERING_Y1
Sets the update flag for 1-bit dithering: |
| private static final String | FLAG_USE_DITHERING_Y4
Sets the update flag for 4-bit dithering: |
| private final boolean | |
| private final boolean | |
| pack-priv final int | |
| private final boolean | |
| private final boolean | |
| pack-priv final boolean | |
| pack-priv final int | |
| private final PlatformLogger | |
| private static final String | NO_WAIT
Indicates whether to wait for the previous update to complete before
sending the next update: |
| pack-priv final boolean | |
| private static final String | ROTATE
Sets the frame buffer rotation: 0 for unrotated (UR), 1 for 90 degrees clockwise (CW), 2 for 180 degrees upside-down (UD), and 3 for 90 degrees counter-clockwise (CCW). |
| pack-priv final int | |
| private static final int | |
| private static final int[] | |
| private static final String | WAVEFORM_MODE
Sets the waveform mode used for updates: 1 for black-and-white direct update (DU), 2 for 16 levels of gray (GC16), 3 for 4 levels of gray (GC4), 4 for pure black-and-white animation (A2), and 257 for the automatic selection of waveform mode based on the number of gray levels in the update (AUTO). |
| private static final int | |
| private static final int[] | |
| pack-priv final int | |
| private static final String | Y8_INVERTED
Sets an indicator for the frame buffer grayscale value: |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private int | Returns: the value provided for the property if it is equal to one of the permitted values; otherwise, the default valuethe property name key, int the default value def, int... a list of the permitted values for the property list)Gets an integer system property. |
| pack-priv static EPDSettings | Returns: a newEPDSettings instanceObtains a new instance of this class with the current values of the EPD system properties. |
| public String |
| BITS_PER_PIXEL | back to summary |
|---|---|
| private static final String BITS_PER_PIXEL Sets the frame buffer color depth and pixel format: 8 for 8-bit grayscale in the Y8 pixel format, 16 for 16-bit color in the RGB565 pixel format, or 32 for 32-bit color in the ARGB32 pixel format. The default is 32. Using the 32-bit format allows JavaFX to render directly into the Linux frame buffer and avoid the step of copying and converting each pixel from an off-screen composition buffer. Implementation Note Corresponds to the | |
| BITS_PER_PIXEL_DEFAULT | back to summary |
|---|---|
| private static final int BITS_PER_PIXEL_DEFAULT | |
| BITS_PER_PIXEL_PERMITTED | back to summary |
|---|---|
| private static final int[] BITS_PER_PIXEL_PERMITTED | |
| bitsPerPixel | back to summary |
|---|---|
| pack-priv final int bitsPerPixel | |
| EPD_PROPERTIES | back to summary |
|---|---|
| private static final String[] EPD_PROPERTIES | |
| FIX_WIDTH_Y8UR | back to summary |
|---|---|
| private static final String FIX_WIDTH_Y8UR Indicates whether to work around the bug found on devices, such as the
Kobo Clara HD Model N249, which require a screen width equal to the
visible x-resolution, instead of the normal virtual x-resolution, when
using an 8-bit, unrotated, and uninverted frame buffer in the Y8 pixel
format: | |
| fixWidthY8UR | back to summary |
|---|---|
| private final boolean fixWidthY8UR | |
| FLAG_ENABLE_INVERSION | back to summary |
|---|---|
| private static final String FLAG_ENABLE_INVERSION Sets the update flag for pixel inversion: Implementation Note Corresponds to the | |
| FLAG_FORCE_MONOCHROME | back to summary |
|---|---|
| private static final String FLAG_FORCE_MONOCHROME Sets the update flag for monochrome conversion: Implementation Note Corresponds to the | |
| FLAG_USE_DITHERING_Y1 | back to summary |
|---|---|
| private static final String FLAG_USE_DITHERING_Y1 Sets the update flag for 1-bit dithering: Implementation Note Corresponds to the | |
| FLAG_USE_DITHERING_Y4 | back to summary |
|---|---|
| private static final String FLAG_USE_DITHERING_Y4 Sets the update flag for 4-bit dithering: Implementation Note Corresponds to the | |
| flagEnableInversion | back to summary |
|---|---|
| private final boolean flagEnableInversion | |
| flagForceMonochrome | back to summary |
|---|---|
| private final boolean flagForceMonochrome | |
| flags | back to summary |
|---|---|
| pack-priv final int flags | |
| flagUseDitheringY1 | back to summary |
|---|---|
| private final boolean flagUseDitheringY1 | |
| flagUseDitheringY4 | back to summary |
|---|---|
| private final boolean flagUseDitheringY4 | |
| getWidthVisible | back to summary |
|---|---|
| pack-priv final boolean getWidthVisible | |
| grayscale | back to summary |
|---|---|
| pack-priv final int grayscale | |
| logger | back to summary |
|---|---|
| private final PlatformLogger logger | |
| NO_WAIT | back to summary |
|---|---|
| private static final String NO_WAIT Indicates whether to wait for the previous update to complete before
sending the next update:
The number of outstanding updates is limited by the device controller to
either 16 or 64 concurrent non-colliding updates, depending on the model.
A value of Implementation Note Corresponds to the IOCTL call constant
| |
| noWait | back to summary |
|---|---|
| pack-priv final boolean noWait | |
| ROTATE | back to summary |
|---|---|
| private static final String ROTATE Sets the frame buffer rotation: 0 for unrotated (UR), 1 for 90 degrees clockwise (CW), 2 for 180 degrees upside-down (UD), and 3 for 90 degrees counter-clockwise (CCW). The default is 0. The unrotated and upside-down settings are in landscape mode, while the clockwise and counter-clockwise settings are in portrait. Implementation Note Corresponds to the | |
| rotate | back to summary |
|---|---|
| pack-priv final int rotate | |
| ROTATE_DEFAULT | back to summary |
|---|---|
| private static final int ROTATE_DEFAULT | |
| ROTATIONS_PERMITTED | back to summary |
|---|---|
| private static final int[] ROTATIONS_PERMITTED | |
| WAVEFORM_MODE | back to summary |
|---|---|
| private static final String WAVEFORM_MODE Sets the waveform mode used for updates: 1 for black-and-white direct update (DU), 2 for 16 levels of gray (GC16), 3 for 4 levels of gray (GC4), 4 for pure black-and-white animation (A2), and 257 for the automatic selection of waveform mode based on the number of gray levels in the update (AUTO). The default is 257. Automatic selection chooses one of 1 (DU), 2 (GC16), or 3 (GC4). If the waveform mode is set to 2 (GC16), it may be upgraded to a compatible but optimized mode internal to the driver, if available. Implementation Note Corresponds to the | |
| WAVEFORM_MODE_DEFAULT | back to summary |
|---|---|
| private static final int WAVEFORM_MODE_DEFAULT | |
| WAVEFORM_MODES_PERMITTED | back to summary |
|---|---|
| private static final int[] WAVEFORM_MODES_PERMITTED | |
| waveformMode | back to summary |
|---|---|
| pack-priv final int waveformMode | |
| Y8_INVERTED | back to summary |
|---|---|
| private static final String Y8_INVERTED Sets an indicator for the frame buffer grayscale value: The value is ignored when the frame buffer is not set to 8-bit grayscale in the Y8 pixel format. Implementation Note Corresponds to the | |
| y8inverted | back to summary |
|---|---|
| private final boolean y8inverted | |
| EPDSettings | back to summary |
|---|---|
| private EPDSettings() Creates a new EPDSettings, capturing the current values of the EPD system properties. | |
| getInteger | back to summary |
|---|---|
| private int getInteger(String key, int def, int... list) Gets an integer system property.
| |
| newInstance | back to summary |
|---|---|
| pack-priv static EPDSettings newInstance() Obtains a new instance of this class with the current values of the EPD system properties.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |