com.esri.android.map
Class CalloutStyle

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

public class CalloutStyle
extends Object

The Class CalloutStyle.

Since:
1.0

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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalloutStyle

public CalloutStyle()
default constructor taking no input parameter.

Since:
1.0

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
Since:
1.0
Method Detail

getCornerCurve

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

Returns:
the corner curve of the callout window
Since:
1.0

setCornerCurve

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

Parameters:
cornerCurve - the cornerCurve to set
Since:
1.0

getTitleTextColor

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

Returns:
the color of title text of the callout window
Since:
1.0

setTitleTextColor

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

Parameters:
titleTextColor - the titleText color to set
Since:
1.0

getTitleTextSize

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

Returns:
the size of title text of the callout window
Since:
1.0

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
Since:
1.0

getTitleTextStyle

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

Returns:
the style of title text of the callout window
Since:
1.0

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
Since:
1.0

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
Since:
1.0

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
Since:
1.0

getBackgroundColor

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

Returns:
the background color of the callout window
Since:
1.0

setBackgroundColor

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

Parameters:
backgroundColor - the backgroundColor to set
Since:
1.0

getBackgroundAlpha

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

Returns:
the background color alpha of the callout window
Since:
1.0

setBackgroundAlpha

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

Parameters:
backgroundAlpha - the background color alpha to set
Since:
1.0

getFrameColor

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

Returns:
the frame color of the callout window
Since:
1.0

setFrameColor

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

Parameters:
frameColor - the frame color to set
Since:
1.0

getAnchor

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

Returns:
the anchor position style of the callout window.
Since:
1.0

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
Since:
1.0

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
Since:
1.0

setMaxWidth

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

Parameters:
maxWidth - the maxWidth to set
Since:
1.0

getMaxHeight

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

Returns:
the maximum height the callout window can stretch to
Since:
1.0

setMaxHeight

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

Parameters:
maxHeight - the maxHeight to set
Since:
1.0


Copyright © 2010. All Rights Reserved.