public class TransitLine
extends java.lang.Object
See Transit details for more detail.
Modifier and Type | Field and Description |
---|---|
TransitAgency[] |
agencies
agencies contains an array of TransitAgency objects that each provide information about
the operator of the line. |
java.lang.String |
color
color contains the color commonly used in signage for this transit line. |
java.lang.String |
icon
icon contains the URL for the icon associated with this line. |
java.lang.String |
name
name contains the full name of this transit line. |
java.lang.String |
shortName
shortName contains the short name of this transit line. |
java.lang.String |
textColor
textColor contains the color of text commonly used for signage of this line. |
java.lang.String |
url
url contains the URL for this transit line as provided by the transit agency. |
Vehicle |
vehicle
vehicle contains the type of vehicle used on this line. |
Constructor and Description |
---|
TransitLine() |
public java.lang.String name
name
contains the full name of this transit line. eg. "7 Avenue Express".public java.lang.String shortName
shortName
contains the short name of this transit line. This will normally be a line
number, such as "M7" or "355".public java.lang.String color
color
contains the color commonly used in signage for this transit line. The color will
be specified as a hex string such as: #FF0033.public TransitAgency[] agencies
agencies
contains an array of TransitAgency objects that each provide information about
the operator of the line.public java.lang.String url
url
contains the URL for this transit line as provided by the transit agency.public java.lang.String icon
icon
contains the URL for the icon associated with this line.public java.lang.String textColor
textColor
contains the color of text commonly used for signage of this line. The color
will be specified as a hex string.public Vehicle vehicle
vehicle
contains the type of vehicle used on this line.