Top Constructors Methods
com.sun.glass.ui.monocle

public Class EGLPlatformFactory

extends NativePlatformFactory
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

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

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

Constructor Detail

EGLPlatformFactoryback to summary
public EGLPlatformFactory()

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.

Returns:NativePlatform

a new NativePlatform.

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.

Returns:int

the major version supported

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.

Returns:int

the minor version supported

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

Returns:boolean

true if we can run on this platform.

Annotations
@Override