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

pack-priv Class X11InputDeviceRegistry

extends InputDeviceRegistry
Class Inheritance
Imports
com.sun.glass.events.MouseEvent

InputDeviceRegistry used when the system property Dx11.input=true is set, indicating that we would like to receive input events through Xlib instead of directly from Linux input devices.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class
private class
private class

Field Summary

Modifier and TypeField and Description
private MouseState
private static X
Inherited from com.sun.glass.ui.monocle.InputDeviceRegistry:
devices

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static int
buttonToGlassButton(int button)

Convenience method to convert X11 button codes to glass button codes

private void
processXEvent(X.XEvent event, RunnableProcessor runnableProcessor)

Dispatch the X Event to the appropriate processor.

Inherited from com.sun.glass.ui.monocle.InputDeviceRegistry:
getInputDevices

Field Detail

stateback to summary
private MouseState state
xLibback to summary
private static X xLib

Constructor Detail

X11InputDeviceRegistryback to summary
pack-priv X11InputDeviceRegistry()

Method Detail

buttonToGlassButtonback to summary
private static int buttonToGlassButton(int button)

Convenience method to convert X11 button codes to glass button codes

processXEventback to summary
private void processXEvent(X.XEvent event, RunnableProcessor runnableProcessor)

Dispatch the X Event to the appropriate processor. All processors run via invokeLater

com.sun.glass.ui.monocle back to summary

private Class X11InputDeviceRegistry.ButtonPressProcessor

extends Object
implements Runnable
Class Inheritance
  • java.lang.Object
  • com.sun.glass.ui.monocle.X11InputDeviceRegistry.ButtonPressProcessor
All Implemented Interfaces
java.lang.Runnable

Field Summary

Modifier and TypeField and Description
private int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

buttonback to summary
private int button

Constructor Detail

ButtonPressProcessorback to summary
pack-priv ButtonPressProcessor(int button)

Method Detail

runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

Annotations
@Override
com.sun.glass.ui.monocle back to summary

private Class X11InputDeviceRegistry.ButtonReleaseProcessor

extends Object
implements Runnable
Class Inheritance
  • java.lang.Object
  • com.sun.glass.ui.monocle.X11InputDeviceRegistry.ButtonReleaseProcessor
All Implemented Interfaces
java.lang.Runnable

Field Summary

Modifier and TypeField and Description
private int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

buttonback to summary
private int button

Constructor Detail

ButtonReleaseProcessorback to summary
pack-priv ButtonReleaseProcessor(int button)

Method Detail

runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

Annotations
@Override
com.sun.glass.ui.monocle back to summary

private Class X11InputDeviceRegistry.MotionProcessor

extends Object
implements Runnable
Class Inheritance
  • java.lang.Object
  • com.sun.glass.ui.monocle.X11InputDeviceRegistry.MotionProcessor
All Implemented Interfaces
java.lang.Runnable

Field Summary

Modifier and TypeField and Description
private int
x

private int
y

Constructor Summary

AccessConstructor and Description
pack-priv
MotionProcessor(int x, int y)

Method Summary

Modifier and TypeMethod and Description
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

xback to summary
private int x
yback to summary
private int y

Constructor Detail

MotionProcessorback to summary
pack-priv MotionProcessor(int x, int y)

Method Detail

runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

Annotations
@Override