public class

ArcGISTitleView

extends RelativeLayout
implements PopupRefreshable
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.RelativeLayout
         ↳ com.esri.android.map.popup.ArcGISTitleView

Class Overview

Default view to display a popup title.
It displays a swatch (if applicable), the title, the feature editing information (if applicable) and location information (if available)

Summary

[Expand]
Inherited Constants
From class android.widget.RelativeLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
ArcGISTitleView(Context context, Popup popup, MapView mapView)
Constructor taking a Context, a Popup and a MapView.
Public Methods
void applyStyle(ArcGISPopupStyle style, ArcGISPopupStyle.STYLE_ELEMENT styleElement)
MapView getMapView()
Set<ArcGISPopupStyle.STYLE_ELEMENT> getRegisteredStyle()
Symbol getSymbol()
Get the symbol.
void refresh()
Refresh the view.
void setEditInfo(String editInfo)
Sets the edit info.
void setGeometryInfo(String geometryInfo)
Sets the geometry info.
void setMapView(MapView mapView)
void setSymbol(Drawable symbol)
Sets the symbol.
void setSymbol(Bitmap symbol)
Sets the symbol.
void setSymbol(int symbolResourceId)
Sets the symbol.
void setTitle(String title)
Sets the title.
[Expand]
Inherited Methods
From class android.widget.RelativeLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource
From interface com.esri.android.map.popup.PopupRefreshable

Public Constructors

public ArcGISTitleView (Context context, Popup popup, MapView mapView)

Constructor taking a Context, a Popup and a MapView.
The map view can be null and if so, the swatch won't be able to be generated from a symbol.

Parameters
context the context
popup the popup
mapView the map view

Public Methods

public void applyStyle (ArcGISPopupStyle style, ArcGISPopupStyle.STYLE_ELEMENT styleElement)

public MapView getMapView ()

Returns
  • the mMapView

public Set<ArcGISPopupStyle.STYLE_ELEMENT> getRegisteredStyle ()

public Symbol getSymbol ()

Get the symbol.

Returns
  • the symbol.

public void refresh ()

Refresh the view.

public void setEditInfo (String editInfo)

Sets the edit info.

Parameters
editInfo the edits the info

public void setGeometryInfo (String geometryInfo)

Sets the geometry info.

Parameters
geometryInfo the geometry info

public void setMapView (MapView mapView)

Parameters
mapView the mMapView to set

public void setSymbol (Drawable symbol)

Sets the symbol.

Parameters
symbol the symbol

public void setSymbol (Bitmap symbol)

Sets the symbol.

Parameters
symbol the symbol

public void setSymbol (int symbolResourceId)

Sets the symbol.

Parameters
symbolResourceId the symbol

public void setTitle (String title)

Sets the title.

Parameters
title the title