public class

ArcGISPopupStyle

extends Object
implements PopupStyle
java.lang.Object
   ↳ com.esri.android.map.popup.ArcGISPopupStyle

Class Overview

Default style for the popup.

Summary

Nested Classes
enum ArcGISPopupStyle.STYLE_ELEMENT Types of stylable element  
Public Constructors
ArcGISPopupStyle()
Public Methods
int[] getChartColors()
Gets the chart colors.
int[] getColorRamp(int id)
Gets the color ramp.
View getCustomFieldSeparator()
Gets the custom field separator.
int getFieldLabelColor()
Gets the field label color.
int getFieldLabelFontSize()
Gets the field label font size.
int getFieldLabelFontStyle()
Gets the field label font style.
Typeface getFieldLabelFontType()
Gets the field label font type.
int getFieldSeparatorColor()
Gets the field separator color.
int getFieldSeparatorWidth()
Gets the field separator width.
int getFieldValueColor()
Gets the field value color.
int getFieldValueFontSize()
Gets the field value font size.
int getFieldValueFontStyle()
Gets the field value font style.
Typeface getFieldValueFontType()
Gets the field value font type.
int getMediaCaptionColor()
Gets the media caption color.
int getMediaCaptionFontSize()
Gets the media caption font size.
int getMediaCaptionFontStyle()
Gets the media caption font style.
Typeface getMediaCaptionFontType()
Gets the media caption font type.
int getMediaChartValuesColor()
Gets the media chart values color.
int getMediaChartValuesFontSize()
Gets the media chart values font size.
int getMediaChartValuesFontStyle()
Gets the media chart values font style.
Typeface getMediaChartValuesFontType()
Gets the media chart values font type.
int getMediaFullScreenCaptionColor()
Gets the media full screen caption color.
int getMediaFullScreenCaptionFontSize()
Gets the media full screen caption font size.
int getMediaFullScreenCaptionFontStyle()
Gets the media full screen caption font style.
Typeface getMediaFullScreenCaptionFontType()
Gets the media full screen caption font type.
int getMediaFullScreenTitleColor()
Gets the media full screen title color.
int getMediaFullScreenTitleFontSize()
Gets the media full screen title font size.
int getMediaFullScreenTitleFontStyle()
Gets the media full screen title font style.
Typeface getMediaFullScreenTitleFontType()
Gets the media full screen title font type.
String[] getPieChartColors()
Gets the pie chart colors.
int getPopupBackgroundColor()
Gets the popup background color.
int getPopupTitleColor()
Gets the popup title color.
int getPopupTitleFontSize()
Gets the popup title font size.
int getPopupTitleFontStyle()
Gets the popup title font style.
Typeface getPopupTitleFontType()
Gets the popup title font type.
boolean isShowFieldSeparator()
Checks if is show field separator.
void registerStylable(ArcGISPopupStyle.IPopupStylable popupStylable)
Register stylable.
void setChartColors(int[] chartColors)
Sets the chart colors.
void setCustomFieldSeparator(View customFieldSeparator)
Sets the custom field separator.
void setFieldLabelColor(int color)
Sets the field label color.
void setFieldLabelFontSize(int size)
Sets the field label font size.
void setFieldLabelFontType(Typeface type)
Sets the field label font type.
void setFieldLabelFontTypeAndStyle(Typeface type, int style)
Sets the field label font type and style.
void setFieldSeparatorColor(int fieldSeparatorColor)
Sets the field separator color.
void setFieldSeparatorWidth(int fieldSeparatorWidth)
Sets the field separator width.
void setFieldValueColor(int fieldValueColor)
Sets the field value color.
void setFieldValueFontSize(int fieldValueFontSize)
Sets the field value font size.
void setFieldValueFontStyle(int fieldValueFontStyle)
Sets the field value font style.
void setFieldValueFontType(Typeface fieldValueFontType)
Sets the field value font type.
void setFieldValueFontTypeAndStyle(Typeface fieldValueFontType, int fieldValueFontStyle)
Sets the field value font type and style.
void setMediaCaptionColor(int mediaCaptionColor)
Sets the media caption color.
void setMediaCaptionFontSize(int mediaCaptionFontSize)
Sets the media caption font size.
void setMediaCaptionFontStyle(int mediaCaptionFontStyle)
Sets the media caption font style.
void setMediaCaptionFontType(Typeface mediaCaptionFontType)
Sets the media caption font type.
void setMediaCaptionFontTypeAndStyle(Typeface mediaCaptionFontType, int mediaCaptionFontStyle)
Sets the media caption font type and style.
void setMediaChartValuesColor(int mediaChartValuesColor)
Sets the media chart values color.
void setMediaChartValuesFontSize(int mediaChartValuesFontSize)
Sets the media chart values font size.
void setMediaChartValuesFontStyle(int mediaChartValuesFontStyle)
Sets the media chart values font style.
void setMediaChartValuesFontType(Typeface mediaChartValuesFontType)
Sets the media chart values font type.
void setMediaChartValuesFontTypeAndStyle(Typeface mediaChartValuesFontType, int mediaChartValuesFontStyle)
Sets the media chart values font type and style.
void setMediaFullScreenCaptionColor(int mediaFullScreenCaptionColor)
Sets the media full screen caption color.
void setMediaFullScreenCaptionFontSize(int mediaFullScreenCaptionFontSize)
Sets the media full screen caption font size.
void setMediaFullScreenCaptionFontStyle(int mediaFullScreenCaptionFontStyle)
Sets the media full screen caption font style.
void setMediaFullScreenCaptionFontType(Typeface mediaFullScreenCaptionFontType)
Sets the media full screen caption font type.
void setMediaFullScreenCaptionFontTypeAndStyle(Typeface mediaFullScreenCaptionFontType, int mediaFullScreenCaptionFontStyle)
Sets the media full screen caption font type and style.
void setMediaFullScreenTitleColor(int mediaFullScreenTitleColor)
Sets the media full screen title color.
void setMediaFullScreenTitleFontSize(int mediaFullScreenTitleFontSize)
Sets the media full screen title font size.
void setMediaFullScreenTitleFontStyle(int mediaFullScreenTitleFontStyle)
Sets the media full screen title font style.
void setMediaFullScreenTitleFontType(Typeface mediaFullScreenTitleFontType)
Sets the media full screen title font type.
void setMediaFullScreenTitleFontTypeAndStyle(Typeface mediaFullScreenTitleFontType, int mediaFullScreenTitleFontStyle)
Sets the media full screen title font type and style.
void setPieChartColors(String[] pieChartColors)
Sets the pie chart colors.
void setPopupBackgroundColor(int color)
Sets the popup background color.
void setPopupTitleColor(int color)
Sets the popup title color.
void setPopupTitleFontSize(int size)
Sets the popup title font size.
void setPopupTitleFontType(Typeface type)
Sets the popup title font type.
void setPopupTitleFontTypeAndStyle(Typeface type, int style)
Sets the popup title font type and style.
void setShowFieldSeparator(boolean showFieldSeparator)
Sets the show field separator.
void unregisterStylable(ArcGISPopupStyle.IPopupStylable popupStylable)
Unregister stylable.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.esri.android.map.popup.PopupStyle

Public Constructors

public ArcGISPopupStyle ()

Public Methods

public int[] getChartColors ()

Gets the chart colors.

Returns
  • the mChartColors

public int[] getColorRamp (int id)

Gets the color ramp.

Parameters
id the id
Returns
  • the color ramp

public View getCustomFieldSeparator ()

Gets the custom field separator.

Returns
  • the mCustomFieldSeparator

public int getFieldLabelColor ()

Gets the field label color.

Returns
  • the field label color

public int getFieldLabelFontSize ()

Gets the field label font size.

Returns
  • the field label font size

public int getFieldLabelFontStyle ()

Gets the field label font style.

Returns
  • the field label font style

public Typeface getFieldLabelFontType ()

Gets the field label font type.

Returns
  • the field label font type

public int getFieldSeparatorColor ()

Gets the field separator color.

Returns
  • the mFieldSeparatorColor

public int getFieldSeparatorWidth ()

Gets the field separator width.

Returns
  • the mFieldSeparatorWidth

public int getFieldValueColor ()

Gets the field value color.

Returns
  • the mFieldValueColor

public int getFieldValueFontSize ()

Gets the field value font size.

Returns
  • the mFieldValueFontSize

public int getFieldValueFontStyle ()

Gets the field value font style.

Returns
  • the mFieldValueFontStyle

public Typeface getFieldValueFontType ()

Gets the field value font type.

Returns
  • the mFieldValueFontType

public int getMediaCaptionColor ()

Gets the media caption color.

Returns
  • the mMediaCaptionColor

public int getMediaCaptionFontSize ()

Gets the media caption font size.

Returns
  • the mMediaCaptionFontSize

public int getMediaCaptionFontStyle ()

Gets the media caption font style.

Returns
  • the mMediaCaptionFontStyle

public Typeface getMediaCaptionFontType ()

Gets the media caption font type.

Returns
  • the mMediaCaptionFontType

public int getMediaChartValuesColor ()

Gets the media chart values color.

Returns
  • the mMediaChartValuesColor

public int getMediaChartValuesFontSize ()

Gets the media chart values font size.

Returns
  • the mMediaChartValuesFontSize

public int getMediaChartValuesFontStyle ()

Gets the media chart values font style.

Returns
  • the mMediaChartValuesFontStyle

public Typeface getMediaChartValuesFontType ()

Gets the media chart values font type.

Returns
  • the mMediaChartValuesFontType

public int getMediaFullScreenCaptionColor ()

Gets the media full screen caption color.

Returns
  • the mMediaFullScreenCaptionColor

public int getMediaFullScreenCaptionFontSize ()

Gets the media full screen caption font size.

Returns
  • the mMediaFullScreenCaptionFontSize

public int getMediaFullScreenCaptionFontStyle ()

Gets the media full screen caption font style.

Returns
  • the mMediaFullScreenCaptionFontStyle

public Typeface getMediaFullScreenCaptionFontType ()

Gets the media full screen caption font type.

Returns
  • the mMediaFullScreenCaptionFontType

public int getMediaFullScreenTitleColor ()

Gets the media full screen title color.

Returns
  • the mMediaFullScreenTitleColor

public int getMediaFullScreenTitleFontSize ()

Gets the media full screen title font size.

Returns
  • the mMediaFullScreenTitleFontSize

public int getMediaFullScreenTitleFontStyle ()

Gets the media full screen title font style.

Returns
  • the mMediaFullScreenTitleFontStyle

public Typeface getMediaFullScreenTitleFontType ()

Gets the media full screen title font type.

Returns
  • the mMediaFullScreenTitleFontType

public String[] getPieChartColors ()

Gets the pie chart colors.

Returns
  • the mPieChartColors

public int getPopupBackgroundColor ()

Gets the popup background color.

Returns
  • the popup background color

public int getPopupTitleColor ()

Gets the popup title color.

Returns
  • the popup title color

public int getPopupTitleFontSize ()

Gets the popup title font size.

Returns
  • the popup title font size

public int getPopupTitleFontStyle ()

Gets the popup title font style.

Returns
  • the popup title font style

public Typeface getPopupTitleFontType ()

Gets the popup title font type.

Returns
  • the popup title font type

public boolean isShowFieldSeparator ()

Checks if is show field separator.

Returns
  • the mShowFieldSeparator

public void registerStylable (ArcGISPopupStyle.IPopupStylable popupStylable)

Register stylable.

Parameters
popupStylable the popup stylable

public void setChartColors (int[] chartColors)

Sets the chart colors.

Parameters
chartColors the chartColors to set

public void setCustomFieldSeparator (View customFieldSeparator)

Sets the custom field separator.

Parameters
customFieldSeparator the mCustomFieldSeparator to set

public void setFieldLabelColor (int color)

Sets the field label color.

Parameters
color the field label color

public void setFieldLabelFontSize (int size)

Sets the field label font size.

Parameters
size the field label font size

public void setFieldLabelFontType (Typeface type)

Sets the field label font type.

Parameters
type the field label font type

public void setFieldLabelFontTypeAndStyle (Typeface type, int style)

Sets the field label font type and style.

Parameters
type the type
style the style

public void setFieldSeparatorColor (int fieldSeparatorColor)

Sets the field separator color.

Parameters
fieldSeparatorColor the fieldSeparatorColor to set

public void setFieldSeparatorWidth (int fieldSeparatorWidth)

Sets the field separator width.

Parameters
fieldSeparatorWidth the mFieldSeparatorWidth to set

public void setFieldValueColor (int fieldValueColor)

Sets the field value color.

Parameters
fieldValueColor the mFieldValueColor to set

public void setFieldValueFontSize (int fieldValueFontSize)

Sets the field value font size.

Parameters
fieldValueFontSize the mFieldValueFontSize to set

public void setFieldValueFontStyle (int fieldValueFontStyle)

Sets the field value font style.

Parameters
fieldValueFontStyle the mFieldValueFontStyle to set

public void setFieldValueFontType (Typeface fieldValueFontType)

Sets the field value font type.

Parameters
fieldValueFontType the mFieldValueFontType to set

public void setFieldValueFontTypeAndStyle (Typeface fieldValueFontType, int fieldValueFontStyle)

Sets the field value font type and style.

Parameters
fieldValueFontType the field value font type
fieldValueFontStyle the field value font style

public void setMediaCaptionColor (int mediaCaptionColor)

Sets the media caption color.

Parameters
mediaCaptionColor the mediaCaptionColor to set

public void setMediaCaptionFontSize (int mediaCaptionFontSize)

Sets the media caption font size.

Parameters
mediaCaptionFontSize the mediaCaptionFontSize to set

public void setMediaCaptionFontStyle (int mediaCaptionFontStyle)

Sets the media caption font style.

Parameters
mediaCaptionFontStyle the mediaCaptionFontStyle to set

public void setMediaCaptionFontType (Typeface mediaCaptionFontType)

Sets the media caption font type.

Parameters
mediaCaptionFontType the media caption font type

public void setMediaCaptionFontTypeAndStyle (Typeface mediaCaptionFontType, int mediaCaptionFontStyle)

Sets the media caption font type and style.

Parameters
mediaCaptionFontType the media caption font type
mediaCaptionFontStyle the media caption font style

public void setMediaChartValuesColor (int mediaChartValuesColor)

Sets the media chart values color.

Parameters
mediaChartValuesColor the mediaChartValuesColor to set

public void setMediaChartValuesFontSize (int mediaChartValuesFontSize)

Sets the media chart values font size.

Parameters
mediaChartValuesFontSize the mediaChartValuesFontSize to set

public void setMediaChartValuesFontStyle (int mediaChartValuesFontStyle)

Sets the media chart values font style.

Parameters
mediaChartValuesFontStyle the media chart values font style

public void setMediaChartValuesFontType (Typeface mediaChartValuesFontType)

Sets the media chart values font type.

Parameters
mediaChartValuesFontType the mediaChartValuesFontType to set

public void setMediaChartValuesFontTypeAndStyle (Typeface mediaChartValuesFontType, int mediaChartValuesFontStyle)

Sets the media chart values font type and style.

Parameters
mediaChartValuesFontType the media chart values font type
mediaChartValuesFontStyle the media chart values font style

public void setMediaFullScreenCaptionColor (int mediaFullScreenCaptionColor)

Sets the media full screen caption color.

Parameters
mediaFullScreenCaptionColor the mediaFullScreenCaptionColor to set

public void setMediaFullScreenCaptionFontSize (int mediaFullScreenCaptionFontSize)

Sets the media full screen caption font size.

Parameters
mediaFullScreenCaptionFontSize the mediaFullScreenCaptionFontSize to set

public void setMediaFullScreenCaptionFontStyle (int mediaFullScreenCaptionFontStyle)

Sets the media full screen caption font style.

Parameters
mediaFullScreenCaptionFontStyle the mediaFullScreenCaptionFontStyle to set

public void setMediaFullScreenCaptionFontType (Typeface mediaFullScreenCaptionFontType)

Sets the media full screen caption font type.

Parameters
mediaFullScreenCaptionFontType the mediaFullScreenCaptionFontType to set

public void setMediaFullScreenCaptionFontTypeAndStyle (Typeface mediaFullScreenCaptionFontType, int mediaFullScreenCaptionFontStyle)

Sets the media full screen caption font type and style.

Parameters
mediaFullScreenCaptionFontType the media full screen caption font type
mediaFullScreenCaptionFontStyle the media full screen caption font style

public void setMediaFullScreenTitleColor (int mediaFullScreenTitleColor)

Sets the media full screen title color.

Parameters
mediaFullScreenTitleColor the mediaFullScreenTitleColor to set

public void setMediaFullScreenTitleFontSize (int mediaFullScreenTitleFontSize)

Sets the media full screen title font size.

Parameters
mediaFullScreenTitleFontSize the mediaFullScreenTitleFontSize to set

public void setMediaFullScreenTitleFontStyle (int mediaFullScreenTitleFontStyle)

Sets the media full screen title font style.

Parameters
mediaFullScreenTitleFontStyle the mediaFullScreenTitleFontStyle to set

public void setMediaFullScreenTitleFontType (Typeface mediaFullScreenTitleFontType)

Sets the media full screen title font type.

Parameters
mediaFullScreenTitleFontType the mediaFullScreenTitleFontType to set

public void setMediaFullScreenTitleFontTypeAndStyle (Typeface mediaFullScreenTitleFontType, int mediaFullScreenTitleFontStyle)

Sets the media full screen title font type and style.

Parameters
mediaFullScreenTitleFontType the media full screen title font type
mediaFullScreenTitleFontStyle the media full screen title font style

public void setPieChartColors (String[] pieChartColors)

Sets the pie chart colors.

Parameters
pieChartColors the pieChartColors to set

public void setPopupBackgroundColor (int color)

Sets the popup background color.

Parameters
color the popup background color

public void setPopupTitleColor (int color)

Sets the popup title color.

Parameters
color the popup title color

public void setPopupTitleFontSize (int size)

Sets the popup title font size.

Parameters
size the popup title font size

public void setPopupTitleFontType (Typeface type)

Sets the popup title font type.

Parameters
type the popup title font type

public void setPopupTitleFontTypeAndStyle (Typeface type, int style)

Sets the popup title font type and style.

Parameters
type the type
style the style

public void setShowFieldSeparator (boolean showFieldSeparator)

Sets the show field separator.

Parameters
showFieldSeparator the show field separator

public void unregisterStylable (ArcGISPopupStyle.IPopupStylable popupStylable)

Unregister stylable.

Parameters
popupStylable the popup stylable