|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.android.map.Grid
public class Grid
This class allows you to control the display of a grid on a MapView
by setting its type and visibility.
Nested Class Summary | |
---|---|
static class |
Grid.GridType
|
Method Summary | |
---|---|
Grid.GridType |
getType()
Returns the type of the grid. |
boolean |
getVisibility()
Returns the visibility of the grid |
void |
setType(Grid.GridType gridType)
Sets the type of grid displayed on the map. |
void |
setVisibility(boolean visibility)
Sets the visibility of the grid. The default is true. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setType(Grid.GridType gridType)
Sets the type of grid displayed on the map.
The default grid type is "None".
gridType
- the Grid.GridType
of the gridpublic Grid.GridType getType()
Grid.GridType
public boolean getVisibility()
public void setVisibility(boolean visibility)
visibility
- the visibility to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |