public class VehicleModelPallet extends java.lang.Object implements IconPallet
IconPallet.CreatePointException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COT_MAPPING_VEHICLE_MODELS |
Constructor and Description |
---|
VehicleModelPallet(MapView mapView) |
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.
|
VehicleModel |
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 |
toString() |
public static final java.lang.String COT_MAPPING_VEHICLE_MODELS
public VehicleModelPallet(MapView mapView)
public java.lang.String getTitle()
IconPallet
getTitle
in interface IconPallet
public java.lang.String getUid()
IconPallet
getUid
in interface IconPallet
public Fragment getFragment()
IconPallet
getFragment
in interface IconPallet
public java.lang.String toString()
toString
in class java.lang.Object
public VehicleModel getPointPlacedIntent(GeoPointMetaData point, java.lang.String uid)
IconPallet
getPointPlacedIntent
in interface IconPallet
point
- the geopoint that the user selected for the point.public void select(int resId)
IconPallet
select
in interface IconPallet
resId
- The button resource id or '0' if no default. For most
user defined pallets, this implementation will or can be empty.public void clearSelection(boolean bPauseListener)
IconPallet
clearSelection
in interface IconPallet
public void refresh()
IconPallet
refresh
in interface IconPallet