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

public Class TouchInputSupport

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.glass.ui.mac.MacTouchInputSupport
Imports
com.sun.glass.events.TouchEvent, java.util.HashMap, .Map

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
public static interface

Field Summary

Modifier and TypeField and Description
private boolean
private int
private int
private View
private boolean
private TouchInputSupport.TouchCountListener
private Map<Long, TouchInputSupport.TouchCoord>
private int

Constructor Summary

AccessConstructor and Description
public
TouchInputSupport(TouchInputSupport.TouchCountListener listener, boolean filterTouchCoordinates)

Method Summary

Modifier and TypeMethod and Description
private int
filterTouchInputState(int state, long id, int x, int y, int xAbs, int yAbs)

public int
public void
notifyBeginTouchEvent(View view, int modifiers, boolean isDirect, int touchEventCount)

public void
public void
notifyNextTouchEvent(View view, int state, long id, int x, int y, int xAbs, int yAbs)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

curIsDirectback to summary
private boolean curIsDirect
curModifiersback to summary
private int curModifiers
curTouchCountback to summary
private int curTouchCount
curViewback to summary
private View curView
filterTouchCoordinatesback to summary
private boolean filterTouchCoordinates
listenerback to summary
private TouchInputSupport.TouchCountListener listener
touchback to summary
private Map<Long, TouchInputSupport.TouchCoord> touch
touchCountback to summary
private int touchCount

Constructor Detail

TouchInputSupportback to summary
public TouchInputSupport(TouchInputSupport.TouchCountListener listener, boolean filterTouchCoordinates)

Method Detail

filterTouchInputStateback to summary
private int filterTouchInputState(int state, long id, int x, int y, int xAbs, int yAbs)
getTouchCountback to summary
public int getTouchCount()
notifyBeginTouchEventback to summary
public void notifyBeginTouchEvent(View view, int modifiers, boolean isDirect, int touchEventCount)
notifyEndTouchEventback to summary
public void notifyEndTouchEvent(View view)
notifyNextTouchEventback to summary
public void notifyNextTouchEvent(View view, int state, long id, int x, int y, int xAbs, int yAbs)
com.sun.glass.ui back to summary

private Class TouchInputSupport.TouchCoord

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final int
x

private final int
private final int
y

private final int

Constructor Summary

AccessConstructor and Description
private
TouchCoord(int x, int y, int xAbs, int yAbs)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

xback to summary
private final int x
xAbsback to summary
private final int xAbs
yback to summary
private final int y
yAbsback to summary
private final int yAbs

Constructor Detail

TouchCoordback to summary
private TouchCoord(int x, int y, int xAbs, int yAbs)
com.sun.glass.ui back to summary

public Interface TouchInputSupport.TouchCountListener


Method Summary

Modifier and TypeMethod and Description
public void
touchCountChanged(TouchInputSupport sender, View view, int modifiers, boolean isDirect)

Method Detail

touchCountChangedback to summary
public void touchCountChanged(TouchInputSupport sender, View view, int modifiers, boolean isDirect)