public class AnalysisPanelPresenter
extends java.lang.Object
implements android.view.View.OnClickListener
Modifier and Type | Field and Description |
---|---|
protected android.widget.CheckBox |
_showViewshedCB |
protected android.view.View |
_viewshedDetails |
protected int |
intensity |
protected LimitingThread |
intensityLT |
static java.lang.String |
PREFERENCE_PROFILE_VIEWSHED_ALT |
static java.lang.String |
PREFERENCE_PROFILE_VIEWSHED_CIRCLE |
static java.lang.String |
PREFERENCE_PROFILE_VIEWSHED_OPACITY |
static java.lang.String |
PREFERENCE_PROFILE_VIEWSHED_RADIUS |
static java.lang.String |
PREFERENCE_SHOW_VIEWSHED |
protected android.content.SharedPreferences |
prefs |
Constructor and Description |
---|
AnalysisPanelPresenter() |
Modifier and Type | Method and Description |
---|---|
void |
bind(AnalysisPanelView v,
MapView mapView) |
protected AfterTextChangedWatcher |
getAltitudeTextWatcher(android.widget.TextView altitudeET) |
protected AfterTextChangedWatcher |
getRadiusTextWatcher(MapView mapView,
android.widget.EditText radiusET) |
void |
onClick(android.view.View v) |
void |
updateMaxAlt(GeoPointMetaData alt) |
void |
updateMaxSlope(double slope) |
void |
updateMinAlt(GeoPointMetaData alt) |
void |
updateTotalDist(double feet) |
void |
updateTotalGain(double feet) |
void |
updateTotalLoss(double feet) |
public static final java.lang.String PREFERENCE_SHOW_VIEWSHED
public static final java.lang.String PREFERENCE_PROFILE_VIEWSHED_ALT
public static final java.lang.String PREFERENCE_PROFILE_VIEWSHED_RADIUS
public static final java.lang.String PREFERENCE_PROFILE_VIEWSHED_CIRCLE
public static final java.lang.String PREFERENCE_PROFILE_VIEWSHED_OPACITY
protected android.view.View _viewshedDetails
protected android.widget.CheckBox _showViewshedCB
protected android.content.SharedPreferences prefs
protected int intensity
protected final LimitingThread intensityLT
public void bind(AnalysisPanelView v, MapView mapView)
protected AfterTextChangedWatcher getRadiusTextWatcher(MapView mapView, android.widget.EditText radiusET)
protected AfterTextChangedWatcher getAltitudeTextWatcher(android.widget.TextView altitudeET)
public void updateTotalDist(double feet)
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
public void updateMaxAlt(GeoPointMetaData alt)
public void updateMinAlt(GeoPointMetaData alt)
public void updateTotalGain(double feet)
public void updateTotalLoss(double feet)
public void updateMaxSlope(double slope)