|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.devices.SensorDeviceConfigurationUpdateVisitor
public final class SensorDeviceConfigurationUpdateVisitor
Implementation of the visitor for sensor device configuration updates.
Field Summary | |
---|---|
(package private) Context |
context
The application context |
(package private) SensorDeviceConfigurationChangeEvent |
update
the configuration update |
Constructor Summary | |
---|---|
private |
SensorDeviceConfigurationUpdateVisitor()
Constructor |
|
SensorDeviceConfigurationUpdateVisitor(SensorDeviceConfigurationChangeEvent update,
Context context)
Constructor |
Method Summary | |
---|---|
private Context |
getContext()
Getter for the context |
SensorDeviceConfigurationChangeEvent |
getUpdate()
Getter for the configuration update |
private void |
setContext(Context context)
Setter for the context |
private void |
setUpdate(SensorDeviceConfigurationChangeEvent update)
Setter for the configuration update |
boolean |
visit(SensorDevice device)
Method for device visitation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
SensorDeviceConfigurationChangeEvent update
Context context
Constructor Detail |
---|
private SensorDeviceConfigurationUpdateVisitor()
public SensorDeviceConfigurationUpdateVisitor(SensorDeviceConfigurationChangeEvent update, Context context)
update
- the configuration updatecontext
- the application contextMethod Detail |
---|
public boolean visit(SensorDevice device)
SensorDeviceVisitor
visit
in interface SensorDeviceVisitor
device
- the device to visit
public SensorDeviceConfigurationChangeEvent getUpdate()
private void setUpdate(SensorDeviceConfigurationChangeEvent update)
update
- the configuration update to setprivate Context getContext()
private void setContext(Context context)
context
- the context to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |