PenListener Interface Reference

Inheritance diagram for PenListener:

DebuggingPenListener PenGestureListener PenStrokeListener PenAdapter PenServer List of all members.

Public Member Functions

void penDown (PenSample sample)
void penUp (PenSample sample)
 Samples for penUp have x & y set to 0.
void sample (PenSample sample)
 A sample happened.

Detailed Description

Listens for Pen events, such as when a pen touches pattern, or when samples are sent wirelessly.

This software is distributed under the BSD License.

Author:
Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 16 of file PenListener.java.


Member Function Documentation

void penDown ( PenSample  sample  ) 

Parameters:
sample 

Implemented in DebuggingPenListener, PenGestureListener, PenStrokeListener, PenAdapter, and PenServer.

void penUp ( PenSample  sample  ) 

Samples for penUp have x & y set to 0.

Parameters:
sample 

Implemented in DebuggingPenListener, PenGestureListener, PenStrokeListener, PenAdapter, and PenServer.

void sample ( PenSample  sample  ) 

A sample happened.

Parameters:
sample 

Implemented in DebuggingPenListener, PenGestureListener, PenStrokeListener, PenAdapter, and PenServer.


The documentation for this interface was generated from the following file:
Generated on Sat Apr 14 18:21:44 2007 for R3 Paper Toolkit by  doxygen 1.4.7