Class WeatherLayersActivity
- java.lang.Object
-
- Activity
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.WeatherLayersActivity
-
public class WeatherLayersActivity extends Activity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classWeatherLayersActivity.DisplayLayer
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACTION_UPDATE_FORBIDDENstatic java.lang.StringACTION_UPDATE_LAYERSstatic java.lang.StringUPDATE_LAYERS_RESULT
-
Constructor Summary
Constructors Constructor Description WeatherLayersActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WeatherLayersActivity.DisplayLayergetDisplayLayerByID(int id)voidgetViewIDs()WeatherLayergetWeatherLayerByID(int id)protected voidonCreate(Bundle savedInstanceState)booleanonCreateOptionsMenu(Menu menu)protected voidonDestroy()booleanonOptionsItemSelected(MenuItem mi)protected voidonPause()protected voidonResume()voidopenDetailedMap(int layer)voidupdateDisplay()voidupdateLayer(WeatherLayer updateLayer)
-
-
-
Field Detail
-
ACTION_UPDATE_LAYERS
public static final java.lang.String ACTION_UPDATE_LAYERS
- See Also:
- Constant Field Values
-
UPDATE_LAYERS_RESULT
public static final java.lang.String UPDATE_LAYERS_RESULT
- See Also:
- Constant Field Values
-
ACTION_UPDATE_FORBIDDEN
public static final java.lang.String ACTION_UPDATE_FORBIDDEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
onResume
protected void onResume()
-
onPause
protected void onPause()
-
onDestroy
protected void onDestroy()
-
onCreate
protected void onCreate(Bundle savedInstanceState)
-
onCreateOptionsMenu
public boolean onCreateOptionsMenu(Menu menu)
-
onOptionsItemSelected
public boolean onOptionsItemSelected(MenuItem mi)
-
openDetailedMap
public void openDetailedMap(int layer)
-
getViewIDs
public void getViewIDs()
-
getWeatherLayerByID
public WeatherLayer getWeatherLayerByID(int id)
-
getDisplayLayerByID
public WeatherLayersActivity.DisplayLayer getDisplayLayerByID(int id)
-
updateDisplay
public void updateDisplay()
-
updateLayer
public void updateLayer(WeatherLayer updateLayer)
-
-