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 class
WeatherLayersActivity.DisplayLayer
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_UPDATE_FORBIDDEN
static java.lang.String
ACTION_UPDATE_LAYERS
static java.lang.String
UPDATE_LAYERS_RESULT
-
Constructor Summary
Constructors Constructor Description WeatherLayersActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WeatherLayersActivity.DisplayLayer
getDisplayLayerByID(int id)
void
getViewIDs()
WeatherLayer
getWeatherLayerByID(int id)
protected void
onCreate(Bundle savedInstanceState)
boolean
onCreateOptionsMenu(Menu menu)
protected void
onDestroy()
boolean
onOptionsItemSelected(MenuItem mi)
protected void
onPause()
protected void
onResume()
void
openDetailedMap(int layer)
void
updateDisplay()
void
updateLayer(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)
-
-