com.esri.adf.web.data.graphics
Class DefaultGraphicsResource
java.lang.Object
com.esri.adf.web.data.GISResource
com.esri.adf.web.data.graphics.GraphicsResource
com.esri.adf.web.data.graphics.DefaultGraphicsResource
- All Implemented Interfaces:
- WebContextInitialize, WebLifecycle, Serializable
public class DefaultGraphicsResource
- extends GraphicsResource
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultGraphicsResource
public DefaultGraphicsResource()
setUpdated
public void setUpdated(boolean state)
isUpdated
public boolean isUpdated()
addGraphicsLayer
public int addGraphicsLayer(GraphicsLayer layer)
- Description copied from class:
GraphicsResource
- Adds a GraphicsLayer to the internal list of GraphicsLayers.
- Overrides:
addGraphicsLayer
in class GraphicsResource
- Parameters:
layer
- a layer to be added
- Returns:
- id of the added layer
removeGraphicsLayer
public void removeGraphicsLayer(GraphicsLayer layer)
- Description copied from class:
GraphicsResource
- Removes a given graphics layer.
- Overrides:
removeGraphicsLayer
in class GraphicsResource
- Parameters:
layer
- a layer to be removed
removeAllGraphicsLayer
public void removeAllGraphicsLayer()
- Description copied from class:
GraphicsResource
- Removes all graphics layers.
- Overrides:
removeAllGraphicsLayer
in class GraphicsResource