public class MenuMapAdapter
extends java.lang.Object
Constructor and Description |
---|
MenuMapAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(java.lang.String typeGroup,
java.lang.String menu)
Registers a type where the match will be if and items type starts with this type, then
use the menu.
|
void |
loadMenuFilters(MapAssets mapAssets,
java.lang.String filtersPath) |
java.lang.String |
lookup(MapItem item) |
java.lang.String |
lookup(java.lang.String type) |
void |
removeFilter(java.lang.String typeGroup)
Registers a type where the match will be if and items type starts with this type, then
use the menu.
|
public void loadMenuFilters(MapAssets mapAssets, java.lang.String filtersPath) throws java.io.IOException
java.io.IOException
public void addFilter(java.lang.String typeGroup, java.lang.String menu)
public void removeFilter(java.lang.String typeGroup)
public java.lang.String lookup(java.lang.String type)
public java.lang.String lookup(MapItem item)