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 getEditFieldColor()
Gets the edit field color.
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 setEditFieldColor(int editFieldColor)
Sets the edit field color.
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
int[] the mChartColors

public int[] getColorRamp (int id)

Gets the color ramp.

Parameters
id int: the id
Returns
int[] the color ramp

public View getCustomFieldSeparator ()

Gets the custom field separator.

Returns
View the mCustomFieldSeparator

public int getEditFieldColor ()

Gets the edit field color.

Returns
int the mEditFieldColor

public int getFieldLabelColor ()

Gets the field label color.

Returns
int the field label color

public int getFieldLabelFontSize ()

Gets the field label font size.

Returns
int the field label font size

public int getFieldLabelFontStyle ()

Gets the field label font style.

Returns
int the field label font style

public Typeface getFieldLabelFontType ()

Gets the field label font type.

Returns
Typeface the field label font type

public int getFieldSeparatorColor ()

Gets the field separator color.

Returns
int the mFieldSeparatorColor

public int getFieldSeparatorWidth ()

Gets the field separator width.

Returns
int the mFieldSeparatorWidth

public int getFieldValueColor ()

Gets the field value color.

Returns
int the mFieldValueColor

public int getFieldValueFontSize ()

Gets the field value font size.

Returns
int the mFieldValueFontSize

public int getFieldValueFontStyle ()

Gets the field value font style.

Returns
int the mFieldValueFontStyle

public Typeface getFieldValueFontType ()

Gets the field value font type.

Returns
Typeface the mFieldValueFontType

public int getMediaCaptionColor ()

Gets the media caption color.

Returns
int the mMediaCaptionColor

public int getMediaCaptionFontSize ()

Gets the media caption font size.

Returns
int the mMediaCaptionFontSize

public int getMediaCaptionFontStyle ()

Gets the media caption font style.

Returns
int the mMediaCaptionFontStyle

public Typeface getMediaCaptionFontType ()

Gets the media caption font type.

Returns
Typeface the mMediaCaptionFontType

public int getMediaChartValuesColor ()

Gets the media chart values color.

Returns
int the mMediaChartValuesColor

public int getMediaChartValuesFontSize ()

Gets the media chart values font size.

Returns
int the mMediaChartValuesFontSize

public int getMediaChartValuesFontStyle ()

Gets the media chart values font style.

Returns
int the mMediaChartValuesFontStyle

public Typeface getMediaChartValuesFontType ()

Gets the media chart values font type.

Returns
Typeface the mMediaChartValuesFontType

public int getMediaFullScreenCaptionColor ()

Gets the media full screen caption color.

Returns
int the mMediaFullScreenCaptionColor

public int getMediaFullScreenCaptionFontSize ()

Gets the media full screen caption font size.

Returns
int the mMediaFullScreenCaptionFontSize

public int getMediaFullScreenCaptionFontStyle ()

Gets the media full screen caption font style.

Returns
int the mMediaFullScreenCaptionFontStyle

public Typeface getMediaFullScreenCaptionFontType ()

Gets the media full screen caption font type.

Returns
Typeface the mMediaFullScreenCaptionFontType

public int getMediaFullScreenTitleColor ()

Gets the media full screen title color.

Returns
int the mMediaFullScreenTitleColor

public int getMediaFullScreenTitleFontSize ()

Gets the media full screen title font size.

Returns
int the mMediaFullScreenTitleFontSize

public int getMediaFullScreenTitleFontStyle ()

Gets the media full screen title font style.

Returns
int the mMediaFullScreenTitleFontStyle

public Typeface getMediaFullScreenTitleFontType ()

Gets the media full screen title font type.

Returns
Typeface the mMediaFullScreenTitleFontType

public String[] getPieChartColors ()

Gets the pie chart colors.

Returns
String[] the mPieChartColors

public int getPopupBackgroundColor ()

Gets the popup background color.

Returns
int the popup background color

public int getPopupTitleColor ()

Gets the popup title color.

Returns
int the popup title color

public int getPopupTitleFontSize ()

Gets the popup title font size.

Returns
int the popup title font size

public int getPopupTitleFontStyle ()

Gets the popup title font style.

Returns
int the popup title font style

public Typeface getPopupTitleFontType ()

Gets the popup title font type.

Returns
Typeface the popup title font type

public boolean isShowFieldSeparator ()

Checks if is show field separator.

Returns
boolean the mShowFieldSeparator

public void registerStylable (ArcGISPopupStyle.IPopupStylable popupStylable)

Register stylable.

Parameters
popupStylable ArcGISPopupStyle.IPopupStylable: the popup stylable

public void setChartColors (int[] chartColors)

Sets the chart colors.

Parameters
chartColors int: the chartColors to set

public void setCustomFieldSeparator (View customFieldSeparator)

Sets the custom field separator.

Parameters
customFieldSeparator View: the mCustomFieldSeparator to set

public void setEditFieldColor (int editFieldColor)

Sets the edit field color.

Parameters
editFieldColor int: the mEditFieldColor to set

public void setFieldLabelColor (int color)

Sets the field label color.

Parameters
color int: the field label color

public void setFieldLabelFontSize (int size)

Sets the field label font size.

Parameters
size int: the field label font size

public void setFieldLabelFontType (Typeface type)

Sets the field label font type.

Parameters
type Typeface: the field label font type

public void setFieldLabelFontTypeAndStyle (Typeface type, int style)

Sets the field label font type and style.

Parameters
type Typeface: the type
style int: the style

public void setFieldSeparatorColor (int fieldSeparatorColor)

Sets the field separator color.

Parameters
fieldSeparatorColor int: the fieldSeparatorColor to set

public void setFieldSeparatorWidth (int fieldSeparatorWidth)

Sets the field separator width.

Parameters
fieldSeparatorWidth int: the mFieldSeparatorWidth to set

public void setFieldValueColor (int fieldValueColor)

Sets the field value color.

Parameters
fieldValueColor int: the mFieldValueColor to set

public void setFieldValueFontSize (int fieldValueFontSize)

Sets the field value font size.

Parameters
fieldValueFontSize int: the mFieldValueFontSize to set

public void setFieldValueFontStyle (int fieldValueFontStyle)

Sets the field value font style.

Parameters
fieldValueFontStyle int: the mFieldValueFontStyle to set

public void setFieldValueFontType (Typeface fieldValueFontType)

Sets the field value font type.

Parameters
fieldValueFontType Typeface: the mFieldValueFontType to set

public void setFieldValueFontTypeAndStyle (Typeface fieldValueFontType, int fieldValueFontStyle)

Sets the field value font type and style.

Parameters
fieldValueFontType Typeface: the field value font type
fieldValueFontStyle int: the field value font style

public void setMediaCaptionColor (int mediaCaptionColor)

Sets the media caption color.

Parameters
mediaCaptionColor int: the mediaCaptionColor to set

public void setMediaCaptionFontSize (int mediaCaptionFontSize)

Sets the media caption font size.

Parameters
mediaCaptionFontSize int: the mediaCaptionFontSize to set

public void setMediaCaptionFontStyle (int mediaCaptionFontStyle)

Sets the media caption font style.

Parameters
mediaCaptionFontStyle int: the mediaCaptionFontStyle to set

public void setMediaCaptionFontType (Typeface mediaCaptionFontType)

Sets the media caption font type.

Parameters
mediaCaptionFontType Typeface: the media caption font type

public void setMediaCaptionFontTypeAndStyle (Typeface mediaCaptionFontType, int mediaCaptionFontStyle)

Sets the media caption font type and style.

Parameters
mediaCaptionFontType Typeface: the media caption font type
mediaCaptionFontStyle int: the media caption font style

public void setMediaChartValuesColor (int mediaChartValuesColor)

Sets the media chart values color.

Parameters
mediaChartValuesColor int: the mediaChartValuesColor to set

public void setMediaChartValuesFontSize (int mediaChartValuesFontSize)

Sets the media chart values font size.

Parameters
mediaChartValuesFontSize int: the mediaChartValuesFontSize to set

public void setMediaChartValuesFontStyle (int mediaChartValuesFontStyle)

Sets the media chart values font style.

Parameters
mediaChartValuesFontStyle int: the media chart values font style

public void setMediaChartValuesFontType (Typeface mediaChartValuesFontType)

Sets the media chart values font type.

Parameters
mediaChartValuesFontType Typeface: the mediaChartValuesFontType to set

public void setMediaChartValuesFontTypeAndStyle (Typeface mediaChartValuesFontType, int mediaChartValuesFontStyle)

Sets the media chart values font type and style.

Parameters
mediaChartValuesFontType Typeface: the media chart values font type
mediaChartValuesFontStyle int: the media chart values font style

public void setMediaFullScreenCaptionColor (int mediaFullScreenCaptionColor)

Sets the media full screen caption color.

Parameters
mediaFullScreenCaptionColor int: the mediaFullScreenCaptionColor to set

public void setMediaFullScreenCaptionFontSize (int mediaFullScreenCaptionFontSize)

Sets the media full screen caption font size.

Parameters
mediaFullScreenCaptionFontSize int: the mediaFullScreenCaptionFontSize to set

public void setMediaFullScreenCaptionFontStyle (int mediaFullScreenCaptionFontStyle)

Sets the media full screen caption font style.

Parameters
mediaFullScreenCaptionFontStyle int: the mediaFullScreenCaptionFontStyle to set

public void setMediaFullScreenCaptionFontType (Typeface mediaFullScreenCaptionFontType)

Sets the media full screen caption font type.

Parameters
mediaFullScreenCaptionFontType Typeface: the mediaFullScreenCaptionFontType to set

public void setMediaFullScreenCaptionFontTypeAndStyle (Typeface mediaFullScreenCaptionFontType, int mediaFullScreenCaptionFontStyle)

Sets the media full screen caption font type and style.

Parameters
mediaFullScreenCaptionFontType Typeface: the media full screen caption font type
mediaFullScreenCaptionFontStyle int: the media full screen caption font style

public void setMediaFullScreenTitleColor (int mediaFullScreenTitleColor)

Sets the media full screen title color.

Parameters
mediaFullScreenTitleColor int: the mediaFullScreenTitleColor to set

public void setMediaFullScreenTitleFontSize (int mediaFullScreenTitleFontSize)

Sets the media full screen title font size.

Parameters
mediaFullScreenTitleFontSize int: the mediaFullScreenTitleFontSize to set

public void setMediaFullScreenTitleFontStyle (int mediaFullScreenTitleFontStyle)

Sets the media full screen title font style.

Parameters
mediaFullScreenTitleFontStyle int: the mediaFullScreenTitleFontStyle to set

public void setMediaFullScreenTitleFontType (Typeface mediaFullScreenTitleFontType)

Sets the media full screen title font type.

Parameters
mediaFullScreenTitleFontType Typeface: the mediaFullScreenTitleFontType to set

public void setMediaFullScreenTitleFontTypeAndStyle (Typeface mediaFullScreenTitleFontType, int mediaFullScreenTitleFontStyle)

Sets the media full screen title font type and style.

Parameters
mediaFullScreenTitleFontType Typeface: the media full screen title font type
mediaFullScreenTitleFontStyle int: the media full screen title font style

public void setPieChartColors (String[] pieChartColors)

Sets the pie chart colors.

Parameters
pieChartColors String: the pieChartColors to set

public void setPopupBackgroundColor (int color)

Sets the popup background color.

Parameters
color int: the popup background color

public void setPopupTitleColor (int color)

Sets the popup title color.

Parameters
color int: the popup title color

public void setPopupTitleFontSize (int size)

Sets the popup title font size.

Parameters
size int: the popup title font size

public void setPopupTitleFontType (Typeface type)

Sets the popup title font type.

Parameters
type Typeface: the popup title font type

public void setPopupTitleFontTypeAndStyle (Typeface type, int style)

Sets the popup title font type and style.

Parameters
type Typeface: the type
style int: the style

public void setShowFieldSeparator (boolean showFieldSeparator)

Sets the show field separator.

Parameters
showFieldSeparator boolean: the show field separator

public void unregisterStylable (ArcGISPopupStyle.IPopupStylable popupStylable)

Unregister stylable.

Parameters
popupStylable ArcGISPopupStyle.IPopupStylable: the popup stylable