public interface IconPallet
Modifier and Type | Interface and Description |
---|---|
static class |
IconPallet.CreatePointException |
Modifier and Type | Method and Description |
---|---|
void |
clearSelection(boolean bPauseListener)
Clear current user selection
|
Fragment |
getFragment()
Provides fragment containing the view to select point details.
|
MapItem |
getPointPlacedIntent(GeoPointMetaData point,
java.lang.String uid)
Generate a map item at the specified point.
|
java.lang.String |
getTitle()
Get title/label for this pallet
|
java.lang.String |
getUid()
Get unique ID for this pallet.
|
void |
refresh()
Indicates drop down is being displayed again, allow pallets opportunity
to refresh
|
void |
select(int resId)
Select an icon by resource id
|
java.lang.String getTitle()
java.lang.String getUid()
MapItem getPointPlacedIntent(GeoPointMetaData point, java.lang.String uid) throws IconPallet.CreatePointException
point
- the geopoint that the user selected for the point.IconPallet.CreatePointException
Fragment getFragment()
void select(int resId)
resId
- The button resource id or '0' if no default. For most
user defined pallets, this implementation will or can be empty.void clearSelection(boolean bPauseListener)
void refresh()