Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface ArtView.PointerHandler

Receives pointer events in document coordinates.

Methods

public abstract void pressed(ArtView view, double x, double y)The pointer went down.
public abstract void dragged(ArtView view, double x, double y)The pointer moved while down.
public abstract void released(ArtView view, double x, double y)The pointer went up.

Method details

pressed

public abstract void pressed(ArtView view, double x, double y)
The pointer went down.

Parameters

view ArtView
the view
x double
document x
y double
document y

dragged

public abstract void dragged(ArtView view, double x, double y)
The pointer moved while down.

Parameters

view ArtView
the view
x double
document x
y double
document y

released

public abstract void released(ArtView view, double x, double y)
The pointer went up.

Parameters

view ArtView
the view
x double
document x
y double
document y