public class

CalloutStyle

extends Object
java.lang.Object
   ↳ com.esri.android.map.CalloutStyle

Class Overview

The Class CalloutStyle.

Summary

Public Constructors
CalloutStyle()
default constructor taking no input parameter.
CalloutStyle(Context context, AttributeSet attrs)
constructor taking an Context object and an AttributeSet object.
Public Methods
int getAnchor()
Returns the anchor position style of the callout window.
int getBackgroundAlpha()
Returns the background color alpha of the callout window.
int getBackgroundColor()
Returns the background color of the callout window.
int getCornerCurve()
Returns the corner curve of the callout window.
int getFrameColor()
Returns the frame color of the callout window.
int getMaxHeight()
Returns the maximum height the callout window can stretch to.
int getMaxWidth()
Returns the maximum width the callout window can stretch to.
int getTitleTextColor()
Returns the color of title text of the callout window.
int getTitleTextSize()
Returns the size of title text of the callout window.
int getTitleTextStyle()
Returns the style of title text of the callout window.
Typeface getTitleTextTypeFace()
Returns the type face of title text of the callout window.
void setAnchor(int newAnchor)
Sets the position style of the anchor of callout window.
void setBackgroundAlpha(int backgroundAlpha)
Sets the background alpha of the callout window.
void setBackgroundColor(int backgroundColor)
Sets the background color of the callout window.
void setCornerCurve(int cornerCurve)
Sets the corner curve of the callout window.
void setFrameColor(int frameColor)
Sets the frame color of the callout window.
void setMaxHeight(int maxHeight)
Sets the maximum height the callout window can stretch to.
void setMaxWidth(int maxWidth)
Sets the maximum width the callout window can stretch to.
void setTitleTextColor(int titleTextColor)
Sets the color of title text of the callout window.
void setTitleTextSize(int titleTextSize)
Sets the size of title text of the callout window.
void setTitleTextStyle(int titleTextStyle)
Sets the color of title text of the callout window.
void setTitleTextTypeFace(Typeface titleTextTypeFace)
Returns the type face of title text of the callout window.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CalloutStyle ()

default constructor taking no input parameter.

public CalloutStyle (Context context, AttributeSet attrs)

constructor taking an Context object and an AttributeSet object.

Parameters
context Context object
attrs AttributeSet object

Public Methods

public int getAnchor ()

Returns the anchor position style of the callout window.

Returns
  • the anchor position style of the callout window.

public int getBackgroundAlpha ()

Returns the background color alpha of the callout window.

Returns
  • the background color alpha of the callout window

public int getBackgroundColor ()

Returns the background color of the callout window.

Returns
  • the background color of the callout window

public int getCornerCurve ()

Returns the corner curve of the callout window.

Returns
  • the corner curve of the callout window

public int getFrameColor ()

Returns the frame color of the callout window.

Returns
  • the frame color of the callout window

public int getMaxHeight ()

Returns the maximum height the callout window can stretch to.

Returns
  • the maximum height the callout window can stretch to

public int getMaxWidth ()

Returns the maximum width the callout window can stretch to.

Returns
  • Returns the maximum width the callout window can stretch to

public int getTitleTextColor ()

Returns the color of title text of the callout window.

Returns
  • the color of title text of the callout window

public int getTitleTextSize ()

Returns the size of title text of the callout window.

Returns
  • the size of title text of the callout window

public int getTitleTextStyle ()

Returns the style of title text of the callout window.

Returns
  • the style of title text of the callout window

public Typeface getTitleTextTypeFace ()

Returns the type face of title text of the callout window.

Returns
  • the type face of title text of the callout window

public void setAnchor (int newAnchor)

Sets the position style of the anchor of callout window.

Parameters
newAnchor the position style of anchor to set

public void setBackgroundAlpha (int backgroundAlpha)

Sets the background alpha of the callout window.

Parameters
backgroundAlpha the background color alpha to set

public void setBackgroundColor (int backgroundColor)

Sets the background color of the callout window.

Parameters
backgroundColor the backgroundColor to set

public void setCornerCurve (int cornerCurve)

Sets the corner curve of the callout window.

Parameters
cornerCurve the cornerCurve to set

public void setFrameColor (int frameColor)

Sets the frame color of the callout window.

Parameters
frameColor the frame color to set

public void setMaxHeight (int maxHeight)

Sets the maximum height the callout window can stretch to.

Parameters
maxHeight the maxHeight to set

public void setMaxWidth (int maxWidth)

Sets the maximum width the callout window can stretch to.

Parameters
maxWidth the maxWidth to set

public void setTitleTextColor (int titleTextColor)

Sets the color of title text of the callout window.

Parameters
titleTextColor the titleText color to set

public void setTitleTextSize (int titleTextSize)

Sets the size of title text of the callout window.

Parameters
titleTextSize the size of title text to set

public void setTitleTextStyle (int titleTextStyle)

Sets the color of title text of the callout window.

Parameters
titleTextStyle the color of title text to set

public void setTitleTextTypeFace (Typeface titleTextTypeFace)

Returns the type face of title text of the callout window.

Parameters
titleTextTypeFace the type face of title text to set