|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfrog.AccelEvent
public class AccelEvent
AccelEvents represent a single acceleration that has come from a device. An AccelEvent contains the source device as well as the value of this acceleration.
DeviceListener| Constructor Summary | |
|---|---|
AccelEvent(Device device,
Accel3D a)
Creates an AccelEvent with a source device and acceleration value. |
|
| Method Summary | |
|---|---|
Accel3D |
getAcceleration()
Returns the acceleration contained in this AccelEvent. |
Device |
getDevice()
Get the Device that performed the acceleration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccelEvent(Device device,
Accel3D a)
device - the source of the acceleration samplea - a single acceleration sampling| Method Detail |
|---|
public Accel3D getAcceleration()
public Device getDevice()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||