public class EmergencyTool extends DropDownReceiver implements EmergencyListener, DropDown.OnStateListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EMERGENCY_WIDGET |
static java.lang.String |
TAG |
DROPDOWN_STATE_FULLSCREEN, DROPDOWN_STATE_NONE, DROPDOWN_STATE_NORMAL, FIVE_EIGTHS_HEIGHT, FIVE_EIGTHS_WIDTH, FIVE_TWELFTHS_HEIGHT, FIVE_TWELFTHS_WIDTH, FULL_HEIGHT, FULL_WIDTH, HALF_HEIGHT, HALF_WIDTH, HANDLE_THICKNESS_LANDSCAPE, HANDLE_THICKNESS_PORTRAIT, NO_HEIGHT, NO_WIDTH, QUARTER_SCREEN, SEVEN_SIXTEENTH_WIDTH, THIRD_HEIGHT, THIRD_WIDTH, THREE_EIGHTHS_HEIGHT, THREE_EIGHTHS_WIDTH, TWO_THIRDS_HEIGHT, TWO_THIRDS_WIDTH
Constructor and Description |
---|
EmergencyTool(MapView mapView,
android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
void |
emergencyStateChanged(java.lang.Boolean emergencyOn,
EmergencyType emergencyType) |
void |
onDropDownClose() |
void |
onDropDownSelectionRemoved() |
void |
onDropDownSizeChanged(double width,
double height) |
void |
onDropDownVisible(boolean v) |
void |
onReceive(android.content.Context ignoreCtx,
android.content.Intent intent) |
_showDropDown, callResize, closeDropDown, dispose, dropDownAlreadyExists, getAssociationKey, getBackStackCount, getDropDown, getMapView, hideDropDown, isClosed, isPortrait, isRetained, isTablet, isTransient, isVisible, onBackButtonPressed, onStateRequested, resize, setAssociationKey, setRetain, setSelected, setSelected, setSelected, setTransient, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, unhideDropDown
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public static final java.lang.String TAG
public static final java.lang.String EMERGENCY_WIDGET
public EmergencyTool(MapView mapView, android.content.Context context)
public void onReceive(android.content.Context ignoreCtx, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public void disposeImpl()
DropDownReceiver
disposeImpl
in class DropDownReceiver
public void emergencyStateChanged(java.lang.Boolean emergencyOn, EmergencyType emergencyType)
emergencyStateChanged
in interface EmergencyListener
public void onDropDownSelectionRemoved()
onDropDownSelectionRemoved
in interface DropDown.OnStateListener
public void onDropDownVisible(boolean v)
onDropDownVisible
in interface DropDown.OnStateListener
public void onDropDownSizeChanged(double width, double height)
onDropDownSizeChanged
in interface DropDown.OnStateListener
public void onDropDownClose()
onDropDownClose
in interface DropDown.OnStateListener