Class WeatherDetailsActivity
- java.lang.Object
-
- Activity
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.WeatherDetailsActivity
-
public class WeatherDetailsActivity extends Activity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classWeatherDetailsActivity.DetailsElementstatic classWeatherDetailsActivity.ListItemTypestatic classWeatherDetailsActivity.SwipeGestureDetector
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINTENT_EXTRA_POSITIONstatic java.lang.StringSIS_POSITION
-
Constructor Summary
Constructors Constructor Description WeatherDetailsActivity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisplayValues()protected voidonCreate(Bundle savedInstanceState)booleanonCreateOptionsMenu(Menu menu)protected voidonDestroy()booleanonOptionsItemSelected(MenuItem mi)protected voidonPause()voidonRestoreInstanceState(Bundle restoreInstanceState)protected voidonResume()voidonSaveInstanceState(Bundle savedInstanceState)voidopenLayerMap(int layerMap)static voidsetPollenLegendColorBoxes(Context context, View view)voidsetPrecipitationChart(Weather.WeatherInfo weatherInfo)voidsetValues(Weather.WeatherInfo weatherInfo, Weather.WeatherLocation weatherLocation)voidsetWarnings(Weather.WeatherInfo weatherInfo, Weather.WeatherLocation weatherLocation)
-
-
-
Method Detail
-
onSaveInstanceState
public void onSaveInstanceState(Bundle savedInstanceState)
-
onRestoreInstanceState
public void onRestoreInstanceState(Bundle restoreInstanceState)
-
onCreate
protected void onCreate(Bundle savedInstanceState)
-
onCreateOptionsMenu
public boolean onCreateOptionsMenu(Menu menu)
-
onOptionsItemSelected
public boolean onOptionsItemSelected(MenuItem mi)
-
displayValues
public void displayValues()
-
setWarnings
public void setWarnings(Weather.WeatherInfo weatherInfo, Weather.WeatherLocation weatherLocation)
-
setPrecipitationChart
public void setPrecipitationChart(Weather.WeatherInfo weatherInfo)
-
setValues
public void setValues(Weather.WeatherInfo weatherInfo, Weather.WeatherLocation weatherLocation)
-
setPollenLegendColorBoxes
public static void setPollenLegendColorBoxes(Context context, View view)
-
onResume
protected void onResume()
-
onPause
protected void onPause()
-
onDestroy
protected void onDestroy()
-
openLayerMap
public void openLayerMap(int layerMap)
-
-