java.io.Serializable
public class TransitLine
extends java.lang.Object
implements java.io.Serializable
See Transit Details for more detail.
Modifier and Type | Field | Description |
---|---|---|
TransitAgency[] |
agencies |
Information about the operator(s) of this transit line.
|
java.lang.String |
color |
The color commonly used in signage for this transit line.
|
java.lang.String |
icon |
The URL for the icon associated with this transit line.
|
java.lang.String |
name |
The full name of this transit line.
|
java.lang.String |
shortName |
The short name of this transit line.
|
java.lang.String |
textColor |
The color of text commonly used for signage of this transit line.
|
java.lang.String |
url |
The URL for this transit line as provided by the transit agency.
|
Vehicle |
vehicle |
The type of vehicle used on this transit line.
|
Constructor | Description |
---|---|
TransitLine() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
public java.lang.String name
"7 Avenue Express"
.public java.lang.String shortName
"M7"
or "355"
.public java.lang.String color
"#FF0033"
.public TransitAgency[] agencies
public java.lang.String url
public java.lang.String icon
public java.lang.String textColor
"#FF0033"
.public Vehicle vehicle