public class EnterLocationDropDownReceiver extends DropDownReceiver implements DropDown.OnStateListener, android.view.View.OnAttachStateChangeListener
Modifier and Type | Field and Description |
---|---|
protected android.content.Intent |
_callbackIntent |
protected boolean |
_initialLoad |
protected IconPallet |
_selectedIconPallet |
protected static EnterLocationDropDownReceiver |
instance |
static java.lang.String |
START |
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
Modifier | Constructor and Description |
---|---|
protected |
EnterLocationDropDownReceiver(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
void |
addPallet(IconPallet p) |
void |
addPallet(IconPallet p,
int order)
Allows for the ability to add a pallet to the existing pallet list.
|
void |
clearSelection(boolean bPauseListeners) |
void |
close() |
void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
static EnterLocationDropDownReceiver |
getInstance(MapView mapView) |
void |
onDropDownClose() |
void |
onDropDownSelectionRemoved() |
void |
onDropDownSizeChanged(double width,
double height) |
void |
onDropDownVisible(boolean v) |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
onViewAttachedToWindow(android.view.View v) |
void |
onViewDetachedFromWindow(android.view.View v) |
Marker |
processCASEVAC(GeoPointMetaData point) |
MapItem |
processPoint(GeoPointMetaData point) |
MapItem |
processPoint(GeoPointMetaData point,
MapItem clicked)
Return intent to create the point
|
IconPallet |
removePallet(IconPallet p)
Allows for the ability to remove a pallet to the existing pallet list.
|
IconPallet |
removePallet(java.lang.String uid)
Given the uid of an existing pallet remove the pallet from the list.
|
void |
setPallet(java.lang.String iconsetUid)
Sets a pallet to be current based on the iconset UID.
|
_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 START
protected IconPallet _selectedIconPallet
protected android.content.Intent _callbackIntent
protected boolean _initialLoad
protected static EnterLocationDropDownReceiver instance
protected EnterLocationDropDownReceiver(MapView mapView)
public static EnterLocationDropDownReceiver getInstance(MapView mapView)
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public void addPallet(IconPallet p, int order)
public void addPallet(IconPallet p)
public IconPallet removePallet(IconPallet p)
public IconPallet removePallet(java.lang.String uid)
uid
- the uid for a specific pallet.public MapItem processPoint(GeoPointMetaData point, MapItem clicked)
public MapItem processPoint(GeoPointMetaData point)
public Marker processCASEVAC(GeoPointMetaData point)
public void clearSelection(boolean bPauseListeners)
public void close()
public void setPallet(java.lang.String iconsetUid)
iconsetUid
- the iconset UID for the pallet to be made current otherwise no pallet is
changed.public void onDropDownSelectionRemoved()
onDropDownSelectionRemoved
in interface DropDown.OnStateListener
public void onDropDownSizeChanged(double width, double height)
onDropDownSizeChanged
in interface DropDown.OnStateListener
public void onDropDownVisible(boolean v)
onDropDownVisible
in interface DropDown.OnStateListener
public void onViewAttachedToWindow(android.view.View v)
onViewAttachedToWindow
in interface android.view.View.OnAttachStateChangeListener
public void onViewDetachedFromWindow(android.view.View v)
onViewDetachedFromWindow
in interface android.view.View.OnAttachStateChangeListener
public void onDropDownClose()
onDropDownClose
in interface DropDown.OnStateListener
public void disposeImpl()
DropDownReceiver
disposeImpl
in class DropDownReceiver