|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Layer
Method Summary | |
---|---|
void |
addMapObject(MapObject mapObject)
Adds map object to the layer. |
void |
clearAll()
Removes all map objects from the layer. |
MapObject |
getMapObject(java.lang.Object id)
Returns map object. |
MapObject |
getMapObjectByIndex(int index)
Returns map object by index |
int |
getMapObjectCount()
Returns the count of map objects on the layer |
boolean |
isVisible()
Shows whether the layer is visible or not. |
void |
removeMapObject(java.lang.Object id)
Removes map object from the layer. |
void |
setVisible(boolean visible)
Sets layer visibility. |
Method Detail |
---|
void addMapObject(MapObject mapObject)
mapObject
- - map object.void removeMapObject(java.lang.Object id)
id
- - id of the map object.MapObject getMapObject(java.lang.Object id)
id
- - id of the map object.MapObject getMapObjectByIndex(int index)
index
-
int getMapObjectCount()
void clearAll()
boolean isVisible()
void setVisible(boolean visible)
visible
- - true if layer should be visible, false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |