public class GRGMapReceiver extends android.content.BroadcastReceiver implements ClearContentRegistry.ClearContentListener, SeekBarControl.Subject, MapEventDispatcher.MapEventDispatchListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BRIGHTNESS |
static java.lang.String |
COLOR |
static java.lang.String |
OUTLINE_VISIBLE |
static java.lang.String |
TOGGLE_VISIBILITY |
static java.lang.String |
TRANSPARENCY |
Constructor and Description |
---|
GRGMapReceiver(MapView mapView,
FeatureDataStore outlinesDB,
PersistentRasterDataStore rasterDB,
DatasetRasterLayer2 rasterLayer,
GRGMapOverlay overlay) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
int |
getValue()
Returns the current value,
0 through 100 ,
inclusive. |
void |
onClearContent(boolean clearmaps)
A call to clear content (ZEROIZE) has been made with the option to clear any larger map
data.
|
void |
onControlDismissed()
Invoked when the control is dismissed or otherwise switches to a new
subject.
|
void |
onMapEvent(MapEvent event) |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
setValue(int value)
Sets the current value,
0 through 100 ,
inclusive. |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public static final java.lang.String OUTLINE_VISIBLE
public static final java.lang.String TRANSPARENCY
public static final java.lang.String BRIGHTNESS
public static final java.lang.String COLOR
public static final java.lang.String TOGGLE_VISIBILITY
public GRGMapReceiver(MapView mapView, FeatureDataStore outlinesDB, PersistentRasterDataStore rasterDB, DatasetRasterLayer2 rasterLayer, GRGMapOverlay overlay)
public void dispose()
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public int getValue()
SeekBarControl.Subject
0
through 100
,
inclusive.getValue
in interface SeekBarControl.Subject
public void setValue(int value)
SeekBarControl.Subject
0
through 100
,
inclusive.setValue
in interface SeekBarControl.Subject
public void onControlDismissed()
SeekBarControl.Subject
onControlDismissed
in interface SeekBarControl.Subject
public void onMapEvent(MapEvent event)
onMapEvent
in interface MapEventDispatcher.MapEventDispatchListener
public void onClearContent(boolean clearmaps)
ClearContentRegistry.ClearContentListener
onClearContent
in interface ClearContentRegistry.ClearContentListener
clearmaps
- True to clear map source and cache data