public class TransitDetails extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
TransitDetails.Property |
Constructor and Description |
---|
TransitDetails()
Creates new TransitDetails object.
|
TransitDetails(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TransitStop |
getArrivalStop()
Returns value of arrivalStop property.
|
Time |
getArrivalTime()
Returns value of arrivalTime property.
|
TransitStop |
getDepartureStop()
Returns value of departureStop property.
|
Time |
getDepartureTime()
Returns value of departureTime property.
|
java.lang.String |
getHeadsign()
Returns value of headsign property.
|
int |
getHeadway()
Returns value of headway property.
|
TransitLine |
getLine()
Returns value of line property.
|
int |
getNumStops()
Returns value of numStops property.
|
void |
setArrivalStop(TransitStop value)
Sets new value for arrivalStop property.
|
void |
setArrivalTime(Time value)
Sets new value for getArrivalTime property.
|
void |
setDepartureStop(TransitStop value)
Sets new value for departureStop property.
|
void |
setDepartureTime(Time value)
Sets new value for departureTime property.
|
void |
setHeadsign(java.lang.String value)
Sets new value for headsign property.
|
void |
setHeadway(int value)
Sets new value for headway property.
|
void |
setLine(TransitLine value)
Sets new value for line property.
|
void |
setNumStops(int value)
Sets new value for numStops property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public TransitDetails()
@Deprecated public TransitDetails(Map map)
map
- owner Map objectpublic TransitStop getArrivalStop()
Contains the arrival stop of this transit step.
setArrivalStop(com.teamdev.jxmaps.TransitStop)
public void setArrivalStop(TransitStop value)
value
- new property valuegetArrivalStop()
public Time getArrivalTime()
Contains the arrival time of this step, specified as a Time object.
setArrivalTime(com.teamdev.jxmaps.Time)
public void setArrivalTime(Time value)
value
- new property valuegetArrivalTime()
public TransitStop getDepartureStop()
Contains the departure stop of this transit step.
setDepartureStop(com.teamdev.jxmaps.TransitStop)
public void setDepartureStop(@Nullable TransitStop value)
value
- new property valuegetDepartureStop()
public Time getDepartureTime()
Contains the departure time of this step, specified as a Time object.
setDepartureTime(com.teamdev.jxmaps.Time)
public void setDepartureTime(Time value)
value
- new property valuegetDepartureTime()
public java.lang.String getHeadsign()
Contains the direction in which to travel on this line, as it is marked on the vehicle or at the departure stop.
setHeadsign(java.lang.String)
public void setHeadsign(java.lang.String value)
value
- new property valuegetHeadsign()
public int getHeadway()
Contains the expected number of seconds between equivalent vehicles at this stop.
setHeadway(int)
public void setHeadway(int value)
value
- new property valuegetHeadway()
public int getNumStops()
Contains the number of stops on this step. Includes the arrival stop, but not the departure stop.
setNumStops(int)
public void setNumStops(int value)
value
- new property valuegetNumStops()
public TransitLine getLine()
Contains the details about the transit line used in this step.
setLine(com.teamdev.jxmaps.TransitLine)
public void setLine(TransitLine value)
value
- new property valuegetLine()