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 class
WeatherDetailsActivity.DetailsElement
static class
WeatherDetailsActivity.ListItemType
static class
WeatherDetailsActivity.SwipeGestureDetector
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
INTENT_EXTRA_POSITION
static java.lang.String
SIS_POSITION
-
Constructor Summary
Constructors Constructor Description WeatherDetailsActivity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
displayValues()
protected void
onCreate(Bundle savedInstanceState)
boolean
onCreateOptionsMenu(Menu menu)
protected void
onDestroy()
boolean
onOptionsItemSelected(MenuItem mi)
protected void
onPause()
void
onRestoreInstanceState(Bundle restoreInstanceState)
protected void
onResume()
void
onSaveInstanceState(Bundle savedInstanceState)
void
openLayerMap(int layerMap)
static void
setPollenLegendColorBoxes(Context context, View view)
void
setPrecipitationChart(Weather.WeatherInfo weatherInfo)
void
setValues(Weather.WeatherInfo weatherInfo, Weather.WeatherLocation weatherLocation)
void
setWarnings(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)
-
-