package org.geogebra.web.web.gui.view.dataCollection.Settings;
import org.geogebra.common.plugin.SensorLogger.Types;
import org.geogebra.web.html5.main.AppW;
import org.geogebra.web.web.gui.view.dataCollection.DataCollectionView;
/**
* Settings for sensor Accelerometer
*/
public class AccSetting extends SensorSetting {
/**
*
* @param app
* {@link AppW}
* @param view
* {@link DataCollectionView}
* @param captionString
* the String to look up for translations
* @param unit
* unit of the sensor values
*/
public AccSetting(AppW app, DataCollectionView view, String captionString,
String unit) {
super(app, view, captionString, unit);
}
@Override
protected void addContent() {
addRow("x", Types.ACCELEROMETER_X);
addRow("y", Types.ACCELEROMETER_Y);
addRow("z", Types.ACCELEROMETER_Z);
}
}