com.esri.android.map
Class CalloutStyle

java.lang.Object
  extended by com.esri.android.map.CalloutStyle

public class CalloutStyle
extends Object


Constructor Summary
CalloutStyle()
          default constructor taking no input parameter
CalloutStyle(android.content.Context context, android.util.AttributeSet attrs)
          constructor taking an Context object and an AttributeSet object
 
Method Summary
 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.
 android.graphics.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(android.graphics.Typeface titleTextTypeFace)
          Returns the type face of title text of the callout window.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalloutStyle

public CalloutStyle()
default constructor taking no input parameter


CalloutStyle

public CalloutStyle(android.content.Context context,
                    android.util.AttributeSet attrs)
constructor taking an Context object and an AttributeSet object

Parameters:
context - Context object
attrs - AttributeSet object
Method Detail

getCornerCurve

public int getCornerCurve()
Returns the corner curve of the callout window.

Returns:
the corner curve of the callout window

setCornerCurve

public void setCornerCurve(int cornerCurve)
Sets the corner curve of the callout window.

Parameters:
cornerCurve - the cornerCurve to set

getTitleTextColor

public int getTitleTextColor()
Returns the color of title text of the callout window.

Returns:
the color of title text of the callout window

setTitleTextColor

public void setTitleTextColor(int titleTextColor)
Sets the color of title text of the callout window.

Parameters:
titleTextColor - the titleText color to set

getTitleTextSize

public int getTitleTextSize()
Returns the size of title text of the callout window.

Returns:
the size of title text of the callout window

setTitleTextSize

public void setTitleTextSize(int titleTextSize)
Sets the size of title text of the callout window.

Parameters:
titleTextSize - the size of title text to set

getTitleTextStyle

public int getTitleTextStyle()
Returns the style of title text of the callout window.

Returns:
the style of title text of the callout window

setTitleTextStyle

public void setTitleTextStyle(int titleTextStyle)
Sets the color of title text of the callout window.

Parameters:
titleTextStyle - the color of title text to set

getTitleTextTypeFace

public android.graphics.Typeface getTitleTextTypeFace()
Returns the type face of title text of the callout window.

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

setTitleTextTypeFace

public void setTitleTextTypeFace(android.graphics.Typeface titleTextTypeFace)
Returns the type face of title text of the callout window.

Parameters:
titleTextTypeFace - the type face of title text to set

getBackgroundColor

public int getBackgroundColor()
Returns the background color of the callout window.

Returns:
the background color of the callout window

setBackgroundColor

public void setBackgroundColor(int backgroundColor)
Sets the background color of the callout window.

Parameters:
backgroundColor - the backgroundColor to set

getBackgroundAlpha

public int getBackgroundAlpha()
Returns the background color alpha of the callout window.

Returns:
the background color alpha of the callout window

setBackgroundAlpha

public void setBackgroundAlpha(int backgroundAlpha)
Sets the background alpha of the callout window.

Parameters:
backgroundAlpha - the background color alpha to set

getFrameColor

public int getFrameColor()
Returns the frame color of the callout window.

Returns:
the frame color of the callout window

setFrameColor

public void setFrameColor(int frameColor)
Sets the frame color of the callout window.

Parameters:
frameColor - the frame color to set

getAnchor

public int getAnchor()
Returns the anchor position style of the callout window.

Returns:
the anchor position style of the callout window.

setAnchor

public void setAnchor(int newAnchor)
Sets the position style of the anchor of callout window

Parameters:
newAnchor - the position style of anchor to set

getMaxWidth

public int getMaxWidth()
Returns the maximum width the callout window can stretch to.

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

setMaxWidth

public void setMaxWidth(int maxWidth)
Sets the maximum width the callout window can stretch to.

Parameters:
maxWidth - the maxWidth to set

getMaxHeight

public int getMaxHeight()
Returns the maximum height the callout window can stretch to.

Returns:
the maximum height the callout window can stretch to

setMaxHeight

public void setMaxHeight(int maxHeight)
Sets the maximum height the callout window can stretch to.

Parameters:
maxHeight - the maxHeight to set


Copyright © 2012. All Rights Reserved.