public class LoadoutListDropDown extends NavigationStackItem implements MappingAdapterEventReceiver<MappingVM>, LoadoutManager.OnLoadoutChangedListener
LoadoutToolsDropDown| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLOSE_LOADOUT |
static java.lang.String |
REFRESH_LIST |
static java.lang.String |
SHOW_LOADOUT |
static java.lang.String |
TOGGLE_LOADOUT |
_context, _itemView, _mapView, _navigationStack| Modifier | Constructor and Description |
|---|---|
protected |
LoadoutListDropDown(MapView mapView) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
disposeImpl() |
void |
eventReceived(MappingVM model) |
java.util.List<android.widget.ImageButton> |
getButtons()
Returns the Image Buttons associated with the stack view
|
java.lang.String |
getTitle()
Returns the title of the stack view
|
void |
onClose()
Called when the stack view is closed
|
void |
onLoadoutAdded(LoadoutItemModel loadout)
A new loadout has been added
|
void |
onLoadoutModified(LoadoutItemModel loadout)
An existing loadout has been modified
|
void |
onLoadoutRemoved(LoadoutItemModel loadout)
A loadout has been removed
|
void |
onLoadoutSelected(LoadoutItemModel loadout)
A loadout has been selected
|
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
closeNavigationStack, createButton, createButton, dispose, getMapView, getNavigationStack, getView, hideView, isVisible, onBackButton, onCloseButton, popView, pushView, setAssociationKey, setNavigationStack, setRetain, setTransient, unhideView, updateButtonsabortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtraspublic static final java.lang.String SHOW_LOADOUT
public static final java.lang.String TOGGLE_LOADOUT
public static final java.lang.String CLOSE_LOADOUT
public static final java.lang.String REFRESH_LIST
protected LoadoutListDropDown(MapView mapView)
protected void disposeImpl()
disposeImpl in class NavigationStackItempublic java.lang.String getTitle()
NavigationStackViewgetTitle in interface NavigationStackViewgetTitle in class NavigationStackItempublic java.util.List<android.widget.ImageButton> getButtons()
NavigationStackViewgetButtons in interface NavigationStackViewgetButtons in class NavigationStackItempublic void onReceive(android.content.Context context,
android.content.Intent intent)
onReceive in class NavigationStackItempublic void onClose()
NavigationStackViewonClose in interface NavigationStackViewonClose in class NavigationStackItempublic void eventReceived(MappingVM model)
eventReceived in interface MappingAdapterEventReceiver<MappingVM>public void onLoadoutAdded(LoadoutItemModel loadout)
LoadoutManager.OnLoadoutChangedListeneronLoadoutAdded in interface LoadoutManager.OnLoadoutChangedListenerloadout - Loadoutpublic void onLoadoutModified(LoadoutItemModel loadout)
LoadoutManager.OnLoadoutChangedListeneronLoadoutModified in interface LoadoutManager.OnLoadoutChangedListenerloadout - Loadoutpublic void onLoadoutRemoved(LoadoutItemModel loadout)
LoadoutManager.OnLoadoutChangedListeneronLoadoutRemoved in interface LoadoutManager.OnLoadoutChangedListenerloadout - Loadoutpublic void onLoadoutSelected(LoadoutItemModel loadout)
LoadoutManager.OnLoadoutChangedListeneronLoadoutSelected in interface LoadoutManager.OnLoadoutChangedListenerloadout - Loadout