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, updateButtons
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public 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 NavigationStackItem
public java.lang.String getTitle()
NavigationStackView
getTitle
in interface NavigationStackView
getTitle
in class NavigationStackItem
public java.util.List<android.widget.ImageButton> getButtons()
NavigationStackView
getButtons
in interface NavigationStackView
getButtons
in class NavigationStackItem
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class NavigationStackItem
public void onClose()
NavigationStackView
onClose
in interface NavigationStackView
onClose
in class NavigationStackItem
public void eventReceived(MappingVM model)
eventReceived
in interface MappingAdapterEventReceiver<MappingVM>
public void onLoadoutAdded(LoadoutItemModel loadout)
LoadoutManager.OnLoadoutChangedListener
onLoadoutAdded
in interface LoadoutManager.OnLoadoutChangedListener
loadout
- Loadoutpublic void onLoadoutModified(LoadoutItemModel loadout)
LoadoutManager.OnLoadoutChangedListener
onLoadoutModified
in interface LoadoutManager.OnLoadoutChangedListener
loadout
- Loadoutpublic void onLoadoutRemoved(LoadoutItemModel loadout)
LoadoutManager.OnLoadoutChangedListener
onLoadoutRemoved
in interface LoadoutManager.OnLoadoutChangedListener
loadout
- Loadoutpublic void onLoadoutSelected(LoadoutItemModel loadout)
LoadoutManager.OnLoadoutChangedListener
onLoadoutSelected
in interface LoadoutManager.OnLoadoutChangedListener
loadout
- Loadout