|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.map.Graphic com.esri.core.tasks.ags.na.StopGraphic
public class StopGraphic
Class providing some convenient methods for setting attributes of a Graphic that are related to routing.
Field Summary |
---|
Fields inherited from class com.esri.core.map.Graphic |
---|
attributes |
Constructor Summary | |
---|---|
StopGraphic(Geometry geometry)
Constructor taking the geometry and symbol used for the graphic |
|
StopGraphic(Geometry geometry,
Map<String,Object> attributes)
Constructor taking the geometry, symbol, and list of attributes for the graphic |
|
StopGraphic(Graphic graphic)
Constructor taking a Graphic and creating a StopGraphic from it |
Method Summary | |
---|---|
String |
getName()
Gets the name of the stop |
String |
getRouteName()
Gets the name of the route this stop belongs to |
int |
getSequence()
Gets the sequence in which this stop should be visited (e.g. a value of 2 means this stop is visited second) |
long |
getTimeWindowEnd()
Gets the end of the time window for visiting this stop (e.g. the latest time at which we should arrive) |
long |
getTimeWindowStart()
Gets the start of the time window for visiting this stop (e.g. the earliest time at which we should arrive) |
void |
setName(String name)
Sets the name of the stop |
void |
setRouteName(String routeName)
Sets the name of the route this stop belongs to |
void |
setSequence(int sequence)
Sets the sequence in which this stop should be visited (e.g. a value of 2 means this stop is visited second) |
void |
setTimeWindowEnd(long timeWindowEnd)
Sets the end of the time window for visiting this stop (e.g. the latest time at which we should arrive) |
void |
setTimeWindowStart(long timeWindowStart)
Sets the start of the time window for visiting this stop (e.g. the earliest time at which we should arrive) |
Methods inherited from class com.esri.core.map.Graphic |
---|
fromJson, getAttributeNames, getAttributes, getAttributeValue, getDrawOrder, getGeometry, getInfoTemplate, getSpatialReference, getSymbol, getUid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StopGraphic(Geometry geometry)
geometry
- symbol
- public StopGraphic(Geometry geometry, Map<String,Object> attributes)
geometry
- symbol
- attributes
- public StopGraphic(Graphic graphic)
graphic
- Method Detail |
---|
public String getName()
public void setName(String name)
name
- the name of the stoppublic String getRouteName()
public void setRouteName(String routeName)
routeName
- the name of the route this stop belongs topublic int getSequence()
public void setSequence(int sequence)
sequence
- the sequence in which this stop should be visitedpublic long getTimeWindowStart()
public void setTimeWindowStart(long timeWindowStart)
timeWindowStart
- the start of the time window for visiting this stoppublic long getTimeWindowEnd()
public void setTimeWindowEnd(long timeWindowEnd)
timeWindowEnd
- the end of the time window for visiting this stop
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |