protected class

Callout.CalloutInner

extends FrameLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ com.esri.android.map.Callout.CalloutInner

Summary

[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
Fields
public Path frame
[Expand]
Inherited Fields
From class android.view.View
Public Methods
void animatedHide()
void animatedShow(Point pCoordinates, View newContent)
void draw(Canvas canvas)
Point getCoordinates()
Returns the map coordinates of the anchor point.
int[] getOffset()
CalloutStyle getStyle()
Returns the current style of callout window.
void hide()
boolean isShowing()
void refresh()
Invokes a refresh of the callout window when it needs to be redrawn.
void setContent(View v)
Sets the content of the callout window.
void setCoordinates(Point coordinates)
Sets the coordinates of the anchor points in the map spatial reference.
void setOffset(int x, int y)
Vertical and horizontal offset to apply to the anchor point.
void setStyle(CalloutStyle cStyle)
void setStyle(AttributeSet attrs)
void setStyle(int xmlId)
void setTitle(String title)
Sets a title for the callout window.
void show(Point pCoordinates, View newContent)
void show()
void show(Point pCoordinates)
void show(Point pCoordinates, View newContent, String newTitle)
Protected Methods
void onLayout(boolean changed, int left, int top, int right, int bottom)
void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
void pan()
[Expand]
Inherited Methods
From class android.widget.FrameLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Fields

public Path frame

Public Methods

public void animatedHide ()

public void animatedShow (Point pCoordinates, View newContent)

public void draw (Canvas canvas)

public Point getCoordinates ()

Returns the map coordinates of the anchor point.

Returns
  • the coordinates of the anchor point

public int[] getOffset ()

Returns
  • the offset

public CalloutStyle getStyle ()

Returns the current style of callout window.

Returns
  • the callout style of callout window

public void hide ()

public boolean isShowing ()

public void refresh ()

Invokes a refresh of the callout window when it needs to be redrawn.

public void setContent (View v)

Sets the content of the callout window.

Parameters
v the view to be displayed in the callout window

public void setCoordinates (Point coordinates)

Sets the coordinates of the anchor points in the map spatial reference.

Parameters
coordinates the coordinates to set

public void setOffset (int x, int y)

Vertical and horizontal offset to apply to the anchor point.

Parameters
x the horizontal offset in pixels
y the vertical offset in pixels

public void setStyle (CalloutStyle cStyle)

public void setStyle (AttributeSet attrs)

public void setStyle (int xmlId)

public void setTitle (String title)

Sets a title for the callout window.

Parameters
title to set for the callout window

public void show (Point pCoordinates, View newContent)

public void show ()

public void show (Point pCoordinates)

public void show (Point pCoordinates, View newContent, String newTitle)

Protected Methods

protected void onLayout (boolean changed, int left, int top, int right, int bottom)

protected void onMeasure (int widthMeasureSpec, int heightMeasureSpec)

protected void pan ()