com.esri.core.map
Class Legend

java.lang.Object
  extended by com.esri.core.map.Legend

public class Legend
extends Object

The Legend class provides a legend's symbol and label.

Since:
2.0

Constructor Summary
Legend(android.graphics.Bitmap image, String label)
          Creates a Legend object.
 
Method Summary
 android.graphics.Bitmap getImage()
          Returns the legend's image.
 String getLabel()
          Returns the legend's label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Legend

public Legend(android.graphics.Bitmap image,
              String label)
Creates a Legend object.

Parameters:
image - the legend's symbol
label - the legend's label
Since:
2.0
Method Detail

getImage

public android.graphics.Bitmap getImage()
Returns the legend's image.

Returns:
the legend's image
Since:
2.0

getLabel

public String getLabel()
Returns the legend's label.

Returns:
the legend's label
Since:
2.0


Copyright © 2010. All Rights Reserved.