|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.adf.web.ags.data.AGSNAFunctionality
| Field Summary | |
protected GraphicElement |
barrierElement
|
static java.lang.String |
FUNCTIONALITY_NAME
|
protected GraphicElement |
routeElement
|
protected GraphicElement |
stopsElement
|
static double |
ZOOM_TO_FACTOR
The default zoom to factor. |
| Constructor Summary | |
AGSNAFunctionality()
|
|
| Method Summary | |
void |
addBarrier(WebPoint point)
|
void |
addStop(WebPoint point)
|
void |
clearBarriers()
|
void |
clearRoute()
|
void |
clearStops()
|
void |
destroyFunctionality()
The cleanup chores (such as releasing held resources) for the functionality must be performed in this method. |
java.lang.String |
getDefaultNALayerName()
|
GISResource |
getResource()
Returns the GISResource associated with this functionality. |
NAServerRouteParams |
getRouteParams()
|
WebSimpleLineSymbol |
getRouteSymbol()
|
WebTrueTypeMarkerSymbol |
getStopSymbol()
|
void |
initFunctionality(GISResource resource)
The initialization chores for the functionality must be performed in this method. |
void |
setDefaultNALayerName(java.lang.String defaultNALayerName)
Sets the default network anlyst layer name. |
void |
setRouteSymbol(WebSimpleLineSymbol routeSymbol)
|
void |
setStopSymbol(WebTrueTypeMarkerSymbol trueTypeMarkerSymbol)
|
AGSTraversalResult[] |
solve()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String FUNCTIONALITY_NAME
public static final double ZOOM_TO_FACTOR
protected GraphicElement routeElement
protected GraphicElement stopsElement
protected GraphicElement barrierElement
| Constructor Detail |
public AGSNAFunctionality()
| Method Detail |
public void initFunctionality(GISResource resource)
GISFunctionality
The initialization chores for the functionality must be performed in this method. This method is called by the
resource when the functionality needs to be initialized. This happens either when the resource
itself is being initialized or if users add this functionality to the resource using the
GISResource.addFunctionality(String, GISFunctionality) method after the resource has already
been initialized.
Classes which implement this method should maintain the resource as a class instance variable and
return the same in the GISFunctionality.getResource() method. The functionality is ready for use only after this method has
been called.
initFunctionality in interface GISFunctionalityresource - the GISResource that this functionality supportsGISResource.init(WebContext)public GISResource getResource()
GISFunctionality
Returns the GISResource associated with this functionality.
The resource passed to GISFunctionality.initFunctionality(GISResource) is maintained as a class variable and is accessible
through this method.
getResource in interface GISFunctionalityGISResource associated with this functionalitypublic void destroyFunctionality()
GISFunctionality
The cleanup chores (such as releasing held resources) for the functionality must be performed in this method. This
method is called by the GISResource when the resource itself is being destroyed.
The functionality is no longer usable after this method has been called.
destroyFunctionality in interface GISFunctionalityGISResource.destroy()public void addStop(WebPoint point)
public void addBarrier(WebPoint point)
public void clearStops()
public void clearBarriers()
public void clearRoute()
public AGSTraversalResult[] solve()
public void setStopSymbol(WebTrueTypeMarkerSymbol trueTypeMarkerSymbol)
public void setRouteSymbol(WebSimpleLineSymbol routeSymbol)
public void setDefaultNALayerName(java.lang.String defaultNALayerName)
defaultNALayerName - the default network analyst layer name.public WebTrueTypeMarkerSymbol getStopSymbol()
public WebSimpleLineSymbol getRouteSymbol()
public java.lang.String getDefaultNALayerName()
public NAServerRouteParams getRouteParams()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||