public class UserIconPallet extends java.lang.Object implements IconPallet
IconPallet.CreatePointException
Constructor and Description |
---|
UserIconPallet(UserIconSet iconset) |
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.
|
Marker |
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 UserIconPallet(UserIconSet iconset)
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 Marker getPointPlacedIntent(GeoPointMetaData point, java.lang.String uid) throws IconPallet.CreatePointException
IconPallet
getPointPlacedIntent
in interface IconPallet
point
- the geopoint that the user selected for the point.IconPallet.CreatePointException
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