AI2 Component  (Version nb184)
DummyMapController.java
Go to the documentation of this file.
1 // -*- mode: java; c-basic-offset: 2; -*-
2 // Copyright 2016-2017 MIT, All rights reserved
3 // Released under the Apache License, Version 2.0
4 // http://www.apache.org/licenses/LICENSE-2.0
5 
6 package com.google.appinventor.components.runtime.util;
7 
8 import android.view.View;
23 import org.osmdroid.util.BoundingBox;
24 
25 class DummyMapController implements MapController {
26 
27  public View getView() {
28  throw new UnsupportedOperationException();
29  }
30 
31  public double getLatitude() {
32  throw new UnsupportedOperationException();
33  }
34 
35  public double getLongitude() {
36  throw new UnsupportedOperationException();
37  }
38 
39  public void setCenter(double latitude, double longitude) {
40  throw new UnsupportedOperationException();
41  }
42 
43  public void setZoom(int zoom) {
44  throw new UnsupportedOperationException();
45  }
46 
47  public void setRotation(float rotation) {
48  throw new UnsupportedOperationException();
49  }
50 
51  public float getRotation() {
52  throw new UnsupportedOperationException();
53  }
54 
55  public int getZoom() {
56  throw new UnsupportedOperationException();
57  }
58 
59  public void setMapType(MapType type) {
60  throw new UnsupportedOperationException();
61  }
62 
63  public MapType getMapType() {
64  throw new UnsupportedOperationException();
65  }
66 
67  public void setCompassEnabled(boolean enabled) {
68  throw new UnsupportedOperationException();
69  }
70 
71  public boolean isCompassEnabled() {
72  throw new UnsupportedOperationException();
73  }
74 
75  @Override
76  public void setZoomEnabled(boolean enabled) {
77  throw new UnsupportedOperationException();
78  }
79 
80  @Override
81  public boolean isZoomEnabled() {
82  throw new UnsupportedOperationException();
83  }
84 
85  public void setZoomControlEnabled(boolean enabled) {
86  throw new UnsupportedOperationException();
87  }
88 
89  public boolean isZoomControlEnabled() {
90  throw new UnsupportedOperationException();
91  }
92 
93  public void setShowUserEnabled(boolean enable) {
94  throw new UnsupportedOperationException();
95  }
96 
97  public boolean isShowUserEnabled() {
98  throw new UnsupportedOperationException();
99  }
100 
101  public void setRotationEnabled(boolean enable) {
102  throw new UnsupportedOperationException();
103  }
104 
105  public boolean isRotationEnabled() {
106  throw new UnsupportedOperationException();
107  }
108 
109  public void setPanEnabled(boolean enable) {
110  throw new UnsupportedOperationException();
111  }
112 
113  public boolean isPanEnabled() {
114  throw new UnsupportedOperationException();
115  }
116 
117  public void panTo(double latitude, double longitude, int zoom, double seconds) {
118  throw new UnsupportedOperationException();
119  }
120 
121  @Override
122  public void addEventListener(MapEventListener listener) {
123  throw new UnsupportedOperationException();
124  }
125 
126  @Override
127  public void addFeature(MapMarker marker) {
128  throw new UnsupportedOperationException();
129  }
130 
131  @Override
132  public void updateFeaturePosition(MapMarker marker) {
133  throw new UnsupportedOperationException();
134  }
135 
136  @Override
137  public void updateFeatureFill(HasFill marker) {
138  throw new UnsupportedOperationException();
139  }
140 
141  @Override
142  public void updateFeatureImage(MapMarker marker) {
143  throw new UnsupportedOperationException();
144  }
145 
146  @Override
147  public void updateFeatureText(MapFeature marker) {
148  throw new UnsupportedOperationException();
149  }
150 
151  @Override
152  public void updateFeatureDraggable(MapFeature marker) {
153  throw new UnsupportedOperationException();
154  }
155 
156  @Override
157  public BoundingBox getBoundingBox() {
158  throw new UnsupportedOperationException();
159  }
160 
161  @Override
162  public void setBoundingBox(BoundingBox bbox) {
163  throw new UnsupportedOperationException();
164  }
165 
166  @Override
167  public void addFeature(MapLineString polyline) {
168  throw new UnsupportedOperationException();
169  }
170 
171  @Override
172  public void addFeature(MapPolygon polygon) {
173  throw new UnsupportedOperationException();
174  }
175 
176  @Override
177  public void addFeature(MapCircle circle) {
178  throw new UnsupportedOperationException();
179  }
180 
181  @Override
182  public void addFeature(MapRectangle circle) {
183  throw new UnsupportedOperationException();
184  }
185 
186  @Override
187  public void removeFeature(MapFeature feature) {
188  throw new UnsupportedOperationException();
189  }
190 
191  @Override
192  public void showFeature(MapFeature feature) {
193  throw new UnsupportedOperationException();
194  }
195 
196  @Override
197  public void hideFeature(MapFeature feature) {
198  throw new UnsupportedOperationException();
199  }
200 
201  @Override
202  public boolean isFeatureVisible(MapFeature feature) {
203  throw new UnsupportedOperationException();
204  }
205 
206  @Override
207  public boolean isFeatureCollectionVisible(MapFeatureCollection collection) {
208  throw new UnsupportedOperationException();
209  }
210 
211  @Override
212  public void setFeatureCollectionVisible(MapFeatureCollection collection, boolean visible) {
213  throw new UnsupportedOperationException();
214  }
215 
216  @Override
217  public void showInfobox(MapFeature feature) {
218  throw new UnsupportedOperationException();
219  }
220 
221  @Override
222  public void hideInfobox(MapFeature feature) {
223  throw new UnsupportedOperationException();
224  }
225 
226  @Override
227  public boolean isInfoboxVisible(MapFeature feature) {
228  throw new UnsupportedOperationException();
229  }
230 
231  @Override
232  public void updateFeaturePosition(MapLineString polyline) {
233  throw new UnsupportedOperationException();
234  }
235 
236  @Override
237  public void updateFeaturePosition(MapPolygon polygon) {
238  throw new UnsupportedOperationException();
239  }
240 
241  @Override
242  public void updateFeatureHoles(MapPolygon polygon) {
243  throw new UnsupportedOperationException();
244  }
245 
246  @Override
247  public void updateFeaturePosition(MapCircle circle) {
248  throw new UnsupportedOperationException();
249  }
250 
251  @Override
252  public void updateFeaturePosition(MapRectangle rectangle) {
253  throw new UnsupportedOperationException();
254  }
255 
256  @Override
257  public void updateFeatureStroke(HasStroke marker) {
258  throw new UnsupportedOperationException();
259  }
260 
261  @Override
262  public void updateFeatureSize(MapMarker marker) {
263  throw new UnsupportedOperationException();
264  }
265 
266  @Override
267  public LocationSensor.LocationSensorListener getLocationListener() {
268  throw new UnsupportedOperationException();
269  }
270 
271  @Override
272  public int getOverlayCount() {
273  throw new UnsupportedOperationException();
274  }
275 
276  @Override
277  public void setScaleVisible(boolean show) {
278  throw new UnsupportedOperationException();
279  }
280 
281  @Override
282  public boolean isScaleVisible() {
283  throw new UnsupportedOperationException();
284  }
285 
286  @Override
287  public void setScaleUnits(MapScaleUnits units) {
288  throw new UnsupportedOperationException();
289  }
290 
291  @Override
292  public MapScaleUnits getScaleUnits() {
293  throw new UnsupportedOperationException();
294  }
295 }
com.google.appinventor.components.runtime.util.MapFactory.MapCircle
Definition: MapFactory.java:1028
com.google.appinventor.components.runtime.util
-*- mode: java; c-basic-offset: 2; -*-
Definition: AccountChooser.java:7
com.google.appinventor.components.runtime.util.MapFactory
Definition: MapFactory.java:30
com.google.appinventor.components.runtime.util.MapFactory.HasFill
Definition: MapFactory.java:888
com.google.appinventor.components.runtime.util.MapFactory.MapScaleUnits
Definition: MapFactory.java:1567
com.google.appinventor.components
com.google.appinventor.components.runtime.util.MapFactory.MapType
Definition: MapFactory.java:1541
com.google.appinventor.components.runtime.util.MapFactory.MapLineString
Definition: MapFactory.java:1373
com.google.appinventor.components.runtime.util.MapFactory.MapPolygon
Definition: MapFactory.java:1410
com.google.appinventor.components.runtime.util.MapFactory.MapRectangle
Definition: MapFactory.java:1099
com.google.appinventor.components.runtime.util.MapFactory.MapMarker
Definition: MapFactory.java:1205
com.google.appinventor.components.runtime.util.MapFactory.MapController
Definition: MapFactory.java:134
com.google.appinventor.components.runtime.util.MapFactory.MapFeature
Definition: MapFactory.java:588
com.google.appinventor.components.runtime.util.MapFactory.MapFeatureCollection
Definition: MapFactory.java:963
com.google.appinventor.components.runtime.util.MapFactory.HasStroke
Definition: MapFactory.java:919
com.google.appinventor.components.runtime
Copyright 2009-2011 Google, All Rights reserved.
Definition: AccelerometerSensor.java:8
com.google.appinventor.components.runtime.LocationSensor
Definition: LocationSensor.java:81
com.google
com
com.google.appinventor.components.runtime.util.MapFactory.MapEventListener
Definition: MapFactory.java:37
com.google.appinventor