Class WeatherLayerMapActivity
- java.lang.Object
-
- Activity
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.WeatherLayerMapActivity
-
public class WeatherLayerMapActivity extends Activity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
WeatherLayerMapActivity.SpinnerPositionPair
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LAYER
-
Constructor Summary
Constructors Constructor Description WeatherLayerMapActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachSpinner()
void
changeMap(int direction)
void
displayMap()
void
drawLegend(WeatherLayer weatherLayer)
int
findLayerPosition(int layer)
WeatherLayerMapActivity.SpinnerPositionPair
getBaseSpinnerPosition()
protected void
onCreate(Bundle savedInstanceState)
boolean
onCreateOptionsMenu(Menu menu)
protected void
onDestroy()
boolean
onOptionsItemSelected(MenuItem mi)
protected void
onPause()
protected void
onResume()
void
onSaveInstanceState(Bundle savedInstanceState)
protected void
onStop()
java.lang.String
removeSpecialChars(java.lang.String s)
void
setCloudSpinnerList()
void
setMinMaxTemperatureSpinnerList()
void
setPollenSpinnerList()
void
setTimeSpinnerList()
void
setTodaySensedTemeraturesSpinnerList()
void
setTodaySensedTemperatureTimesSpinnerList()
-
-
-
Field Detail
-
LAYER
public static final java.lang.String LAYER
- See Also:
- Constant Field Values
-
-
Method Detail
-
onCreate
protected void onCreate(Bundle savedInstanceState)
-
onSaveInstanceState
public void onSaveInstanceState(Bundle savedInstanceState)
-
onResume
protected void onResume()
-
onPause
protected void onPause()
-
onStop
protected void onStop()
-
onDestroy
protected void onDestroy()
-
onCreateOptionsMenu
public boolean onCreateOptionsMenu(Menu menu)
-
findLayerPosition
public int findLayerPosition(int layer)
-
changeMap
public void changeMap(int direction)
-
onOptionsItemSelected
public boolean onOptionsItemSelected(MenuItem mi)
-
removeSpecialChars
public final java.lang.String removeSpecialChars(java.lang.String s)
-
setTimeSpinnerList
public void setTimeSpinnerList()
-
setPollenSpinnerList
public void setPollenSpinnerList()
-
getBaseSpinnerPosition
public WeatherLayerMapActivity.SpinnerPositionPair getBaseSpinnerPosition()
-
setCloudSpinnerList
public void setCloudSpinnerList()
-
setTodaySensedTemeraturesSpinnerList
public void setTodaySensedTemeraturesSpinnerList()
-
setTodaySensedTemperatureTimesSpinnerList
public void setTodaySensedTemperatureTimesSpinnerList()
-
setMinMaxTemperatureSpinnerList
public void setMinMaxTemperatureSpinnerList()
-
attachSpinner
public void attachSpinner()
-
displayMap
public void displayMap()
-
drawLegend
public void drawLegend(WeatherLayer weatherLayer)
-
-