APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.glass.ui.monocle

pack-priv Class EPDPlatformFactory

extends NativePlatformFactory
Class Inheritance
Imports
com.sun.javafx.logging.PlatformLogger, com.sun.javafx.util.Logging, java.io.BufferedReader, .FileReader, .IOException, java.text.MessageFormat, java.util.function.Supplier

A factory object for creating the native platform on a Linux system with an electrophoretic display, also called an e-paper display, found on e-readers such as the Amazon Kindle and Rakuten Kobo.

Field Summary

Modifier and TypeField and Description
private static final String
FB_FILE

The file that contains the name of the frame buffer device when CONFIG_FB is defined during kernel compilation.

private static final String
FB_NAME

The name of the Mobile Extreme Convergence Electrophoretic Display Controller Frame Buffer device.

private final PlatformLogger
private static final int
MAJOR_VERSION

The major version number of this platform factory.

private static final int
MINOR_VERSION

The minor version number of this platform factory.

Constructor Summary

AccessConstructor and Description
pack-priv
EPDPlatformFactory()

Creates a new factory object for the Monocle EPD Platform.

Method Summary

Modifier and TypeMethod and Description
protected NativePlatform
protected int
getMajorVersion()

Implements abstract com.sun.glass.ui.monocle.NativePlatformFactory.getMajorVersion.

Queries the major version number supported by this NativePlatformFactory.

protected int
getMinorVersion()

Implements abstract com.sun.glass.ui.monocle.NativePlatformFactory.getMinorVersion.

Queries the minor version number supported by this NativePlatformFactory.

protected boolean
matches()

Implements abstract com.sun.glass.ui.monocle.NativePlatformFactory.matches.

Checks whether this NativePlatformFactory can work with the platform on which we are running

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from com.sun.glass.ui.monocle.NativePlatformFactory:
getNativePlatform

Field Detail

FB_FILEback to summary
private static final String FB_FILE

The file that contains the name of the frame buffer device when CONFIG_FB is defined during kernel compilation.

FB_NAMEback to summary
private static final String FB_NAME

The name of the Mobile Extreme Convergence Electrophoretic Display Controller Frame Buffer device.

loggerback to summary
private final PlatformLogger logger
MAJOR_VERSIONback to summary
private static final int MAJOR_VERSION

The major version number of this platform factory.

MINOR_VERSIONback to summary
private static final int MINOR_VERSION

The minor version number of this platform factory.

Constructor Detail

EPDPlatformFactoryback to summary
pack-priv EPDPlatformFactory()

Creates a new factory object for the Monocle EPD Platform.

Method Detail

createNativePlatformback to summary
protected NativePlatform createNativePlatform()

Implements abstract com.sun.glass.ui.monocle.NativePlatformFactory.createNativePlatform.

Doc from com.sun.glass.ui.monocle.NativePlatformFactory.createNativePlatform.

Creates a NativePlatform. This is only called if matches() was previously called and returned true.

Annotations
@Override
getMajorVersionback to summary
protected int getMajorVersion()

Implements abstract com.sun.glass.ui.monocle.NativePlatformFactory.getMajorVersion.

Doc from com.sun.glass.ui.monocle.NativePlatformFactory.getMajorVersion.

Queries the major version number supported by this NativePlatformFactory.

Annotations
@Override
getMinorVersionback to summary
protected int getMinorVersion()

Implements abstract com.sun.glass.ui.monocle.NativePlatformFactory.getMinorVersion.

Doc from com.sun.glass.ui.monocle.NativePlatformFactory.getMinorVersion.

Queries the minor version number supported by this NativePlatformFactory.

Annotations
@Override
matchesback to summary
protected boolean matches()

Implements abstract com.sun.glass.ui.monocle.NativePlatformFactory.matches.

Doc from com.sun.glass.ui.monocle.NativePlatformFactory.matches.

Checks whether this NativePlatformFactory can work with the platform on which we are running

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override