Sony Addon SDK
public class

ControlTouchEvent

This project is no longer being supported and will not get any further updates.
extends java.lang.Object
  1. java.lang.Object
  2. com.sonyericsson.extras.liveware.extension.util.control.ControlTouchEvent

Class Overview

The control touch event class holds information about a touch event.

Summary

Public Constructors
ControlTouchEvent(int action, long timeStamp, int x, int y)

Create touch event.

Public Methods
int getAction()

Get the touch event action.

long getTimeStamp()

Get the touch event time stamp.

int getX()

Get the touch event x position.

int getY()

Get the touch event y position.

Public Constructors

public ControlTouchEvent(int action, long timeStamp, int x, int y)

Create touch event.

Parameters
action Touch action.
timeStamp The time when the event occurred.
x The x position.
y The y position.
See Also

Public Methods

public int getAction()

Get the touch event action.

Returns

The action.

public long getTimeStamp()

Get the touch event time stamp.

Returns

The time stamp.

public int getX()

Get the touch event x position.

Returns

The x position.

public int getY()

Get the touch event y position.

Returns

The y position.