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
Method details
pressed
public abstract void pressed(ArtView view, double x, double y)The pointer went down.
Parameters
viewArtView- the view
xdouble- document x
ydouble- document y
dragged
public abstract void dragged(ArtView view, double x, double y)The pointer moved while down.
Parameters
viewArtView- the view
xdouble- document x
ydouble- document y
released
public abstract void released(ArtView view, double x, double y)The pointer went up.
Parameters
viewArtView- the view
xdouble- document x
ydouble- document y