public class SensorEvent extends Object
| Constructor and Description |
|---|
SensorEvent(Input anInput,
SensorTypeEnum aType,
int anOldValue,
int aNewValue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getNewValue() |
int |
getOldValue() |
SensorTypeEnum |
getSensorType() |
Input |
getSource() |
public SensorEvent(Input anInput, SensorTypeEnum aType, int anOldValue, int aNewValue)
anInput - the inputaType - type of sensoranOldValue - the old valueaNewValue - the new valuepublic Input getSource()
public int getNewValue()
public int getOldValue()
public final SensorTypeEnum getSensorType()
Copyright © 2018. All rights reserved.