Class TouchList
- java.lang.Object
-
- org.pepstock.charba.client.dom.events.TouchList
-
@JsType(isNative=true, namespace="<global>") public final class TouchList extends ObjectRepresents a list of contact points on a touch surface.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Touchitem(int index)Returns the touch object at the specified index in the list.intlength()Returns the number of touch objects in the touch list.
-
-
-
Method Detail
-
length
@JsProperty(name="length") public int length()
Returns the number of touch objects in the touch list.- Returns:
- the number of touch objects in the touch list
-
item
@JsMethod public Touch item(int index)
Returns the touch object at the specified index in the list.- Parameters:
index- the index to get the touch object- Returns:
- the touch object at the specified index
-
-