com.esri.adf.web.data
Class WebGeocode

java.lang.Object
  extended by com.esri.adf.web.data.WebGeocode
All Implemented Interfaces:
WebContextInitialize, Serializable

public class WebGeocode
extends Object
implements WebContextInitialize, Serializable

See Also:
Serialized Form

Field Summary
protected  WebContext context
           
protected  WebMultiPoint drawPoints
           
protected  ArrayList<GISFunctionality> geoFuncs
           
protected  GraphicElement graphic
           
protected  WebTrueTypeMarkerSymbol symbol
           
 
Constructor Summary
WebGeocode()
           
 
Method Summary
 void addDisplayGeometry(WebGeometry geom, String address)
           
 void clearGraphics()
           
 void destroy()
           The cleaup chores (such as releasing held resources) of attributes of a WebContext should be performed in this method.
 List<GISFunctionality> getGeocodeFunctionalities()
           
 GraphicElement getGraphics()
           
 WebTrueTypeMarkerSymbol getMarkerSymbol()
           
 WebContext getWebContext()
           
 void init(WebContext context)
           The initialization chores of attributes of a WebContext should be performed in this method.
 void setMarkerSymbol(WebTrueTypeMarkerSymbol symbol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected WebContext context

geoFuncs

protected ArrayList<GISFunctionality> geoFuncs

graphic

protected GraphicElement graphic

drawPoints

protected WebMultiPoint drawPoints

symbol

protected WebTrueTypeMarkerSymbol symbol
Constructor Detail

WebGeocode

public WebGeocode()
Method Detail

init

public void init(WebContext context)
Description copied from interface: WebContextInitialize

The initialization chores of attributes of a WebContext should be performed in this method.

Typically this method is called by the WebContext when the context itself is initialized. It is important to note that this method is again called by the context when a GISResource is dynamically added to or removed from the context. Classes that implement this method should keep this in mind and adapt the method to react to the callbacks in these circumstances as well.

A WebContext attribute is usable only after this method has been called.

Specified by:
init in interface WebContextInitialize
Parameters:
context - WebContext- the WebContext
See Also:
WebContext.init(WebContext), WebContext.addResource(String, GISResource, int), WebContext.removeResource(GISResource)

destroy

public void destroy()
Description copied from interface: WebContextInitialize

The cleaup chores (such as releasing held resources) of attributes of a WebContext should be performed in this method.

Typically this method is called by the WebContext when the context itself is destroyed.

The WebContext attribute is unusable after this method has been called.

Specified by:
destroy in interface WebContextInitialize
See Also:
WebContext.destroy()

addDisplayGeometry

public void addDisplayGeometry(WebGeometry geom,
                               String address)

clearGraphics

public void clearGraphics()

getGraphics

public GraphicElement getGraphics()

setMarkerSymbol

public void setMarkerSymbol(WebTrueTypeMarkerSymbol symbol)

getMarkerSymbol

public WebTrueTypeMarkerSymbol getMarkerSymbol()

getGeocodeFunctionalities

public List<GISFunctionality> getGeocodeFunctionalities()

getWebContext

public WebContext getWebContext()