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

pack-priv Class X11Platform

extends NativePlatform
Class Inheritance

Native platform compatible with X11

Field Summary

Modifier and TypeField and Description
private final boolean
Inherited from com.sun.glass.ui.monocle.NativePlatform:
accScreenscreensuseCursor

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected NativeCursor
createCursor()

Implements abstract com.sun.glass.ui.monocle.NativePlatform.createCursor.

Create the appropriate X11 cursor.

protected InputDeviceRegistry
createInputDeviceRegistry()

Implements abstract com.sun.glass.ui.monocle.NativePlatform.createInputDeviceRegistry.

Create the appropriate input device registry - if the system property x11.input is true, then we use X11InputDeviceRegistry and get native events via the X11 event queue.

protected NativeScreen
createScreen()

Implements abstract com.sun.glass.ui.monocle.NativePlatform.createScreen.

Create the native screen for this platform

public synchronized AcceleratedScreen
getAcceleratedScreen(int[]
a sequence of pairs (GLAttibute, value)
attributes
)

Overrides com.sun.glass.ui.monocle.NativePlatform.getAcceleratedScreen.

Create the accelerated screen for this platform

Inherited from com.sun.glass.ui.monocle.NativePlatform:
createScreensgetCursorgetInputDeviceRegistrygetRunnableProcessorgetScreengetScreenslogSelectedCursorshutdown

Field Detail

x11Inputback to summary
private final boolean x11Input

Constructor Detail

X11Platformback to summary
pack-priv X11Platform()

Method Detail

createCursorback to summary
protected NativeCursor createCursor()

Implements abstract com.sun.glass.ui.monocle.NativePlatform.createCursor.

Create the appropriate X11 cursor. If we are using x11 input, we let X11 handle the cursor movement. If we are using udev input, we need to handle the cursor movement ourselves via X11WarpingCursor.

Returns:NativeCursor

Doc from com.sun.glass.ui.monocle.NativePlatform.createCursor.

a new NativeCursor

Annotations
@Override
createInputDeviceRegistryback to summary
protected InputDeviceRegistry createInputDeviceRegistry()

Implements abstract com.sun.glass.ui.monocle.NativePlatform.createInputDeviceRegistry.

Create the appropriate input device registry - if the system property x11.input is true, then we use X11InputDeviceRegistry and get native events via the X11 event queue. If x11.input is not true, we listen directly to the udev raw events.

Returns:InputDeviceRegistry

Doc from com.sun.glass.ui.monocle.NativePlatform.createInputDeviceRegistry.

a new InputDeviceRegistry

Annotations
@Override
createScreenback to summary
protected NativeScreen createScreen()

Implements abstract com.sun.glass.ui.monocle.NativePlatform.createScreen.

Create the native screen for this platform

Returns:NativeScreen

Doc from com.sun.glass.ui.monocle.NativePlatform.createScreen.

a new NativeScreen

Annotations
@Override
getAcceleratedScreenback to summary
public synchronized AcceleratedScreen getAcceleratedScreen(int[] attributes) throws GLException

Overrides com.sun.glass.ui.monocle.NativePlatform.getAcceleratedScreen.

Create the accelerated screen for this platform

Parameters
attributes:int[]

a sequence of pairs (GLAttibute, value)

Returns:AcceleratedScreen

Doc from com.sun.glass.ui.monocle.NativePlatform.getAcceleratedScreen.

an AcceleratedScreen for rendering using OpenGL

Annotations
@Override
Exceptions
GLException:

Doc from com.sun.glass.ui.monocle.NativePlatform.getAcceleratedScreen.

if no OpenGL surface could be created