|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.event.PointerEvent<H>
H - handler typepublic abstract class PointerEvent<H extends com.google.gwt.event.shared.EventHandler>
Abstract class representing Pointer events.
| Field Summary | |
|---|---|
static java.lang.String |
TYPE_MOUSE
|
static java.lang.String |
TYPE_PEN
|
static java.lang.String |
TYPE_TOUCH
|
static java.lang.String |
TYPE_UNKNOWN
|
| Constructor Summary | |
|---|---|
PointerEvent()
|
|
| Method Summary | |
|---|---|
int |
getHeight()
Gets the height of the contact geometry of the pointer in CSS pixels. |
int |
getPointerId()
Gets a unique identifier for the pointer that caused this event. |
java.lang.String |
getPointerType()
Gets the type of the pointer device that caused this event. |
double |
getPressure()
Gets the pressure of the pointer input as a value in the range of [0, 1] where 0 and 1 represent the minimum and maximum, respectively. |
double |
getTiltX()
Gets the angle between the Y-Z plane and the plane containing both the transducer and the Y axis. |
double |
getTiltY()
Gets the angle between the X-Z plane and the plane containing both the transducer and the X axis. |
int |
getWidth()
Gets the width of the contact geometry of the pointer in CSS pixels. |
boolean |
isPrimary()
Indicates whether the pointer is the primary pointer of this type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE_UNKNOWN
public static final java.lang.String TYPE_TOUCH
public static final java.lang.String TYPE_PEN
public static final java.lang.String TYPE_MOUSE
| Constructor Detail |
|---|
public PointerEvent()
| Method Detail |
|---|
public final int getPointerId()
public final int getWidth()
public final int getHeight()
public final double getPressure()
public final double getTiltX()
public final double getTiltY()
public final java.lang.String getPointerType()
TYPE_UNKNOWN,
TYPE_TOUCH,
TYPE_PEN,
TYPE_MOUSEpublic final boolean isPrimary()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||