|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.adf.web.data.graphics.GraphicsLayer com.esri.adf.web.data.graphics.GroupGraphicsLayer
public class GroupGraphicsLayer
GroupGraphicsLayer is a layer that holds sublayers. GroupGraphicsLayer is not designed to hold GraphicFeaturess, only the instances of GraphicLayer can hold GraphicFeaturess
Constructor Summary | |
---|---|
GroupGraphicsLayer()
Creates an instance of GraphicsLayer that contains an empty list of sublayers. |
Method Summary | |
---|---|
void |
addGraphicFeature(GraphicFeature feature)
Adds a feature to the layer. |
void |
addSublayer(GraphicsLayer sublayer)
Adds a layer to the list of sublayers. |
void |
drawLayer(WebElementConverter converter,
WebExtent extent,
WebSpatialReference spatialReference)
Draws the layer. |
List<GraphicFeature> |
getGraphicsFeatures()
Returns the list of graphic features in the layer. |
List<GraphicsLayer> |
getSubLayers()
Returns a list of sublayers. |
void |
removeAllGraphicFeatures()
Removes all features from the layer. |
void |
removeGraphicFeature(GraphicFeature feature)
Removes a feature from the layer. |
void |
removeSublayer(GraphicsLayer sublayer)
Finds a given layer in the list of sublayers and removes it. |
void |
setSublayers(List<? extends GraphicsLayer> sublayers)
Sets an incomming list of layers to the internal list of sublayers. |
Methods inherited from class com.esri.adf.web.data.graphics.GraphicsLayer |
---|
equals, getCalloutTemplate, getHighlightRenderer, getId, getName, getRenderer, getSymbol, getSymbol, isVisible, setCalloutTemplate, setHighlightRenderer, setName, setRenderer, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupGraphicsLayer()
Method Detail |
---|
public void addSublayer(GraphicsLayer sublayer)
sublayer
- a sublayer to be added.public void setSublayers(List<? extends GraphicsLayer> sublayers)
sublayers
- list of layers to be set as sublayers of this layerpublic List<GraphicsLayer> getSubLayers()
public void removeSublayer(GraphicsLayer sublayer)
sublayer
- a sublayer to be removedpublic void addGraphicFeature(GraphicFeature feature)
GraphicsLayer
addGraphicFeature
in class GraphicsLayer
feature
- a graphics feature to be addedpublic void removeGraphicFeature(GraphicFeature feature)
GraphicsLayer
removeGraphicFeature
in class GraphicsLayer
feature
- a graphics feature to be removedpublic void removeAllGraphicFeatures()
GraphicsLayer
removeAllGraphicFeatures
in class GraphicsLayer
public List<GraphicFeature> getGraphicsFeatures()
GraphicsLayer
getGraphicsFeatures
in class GraphicsLayer
public void drawLayer(WebElementConverter converter, WebExtent extent, WebSpatialReference spatialReference)
GraphicsLayer
drawLayer
in class GraphicsLayer
converter
- is an input/output parameter that holds the image on which the layer is drawnextent
- spatial extent of the layerspatialReference
- all feature geometries in the layer are projected using this spatial reference before
drawing
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |