public class TransitLine extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
TransitLine()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
JsArray<TransitAgency> |
getAgencies()
The transit agency that operates this transit line.
|
String |
getColor()
The color commonly used in signage for this transit line, represented as a hex string.
|
String |
getIcon()
The URL for an icon associated with this line.
|
String |
getName()
The full name of this transit line, e.g.
|
String |
getShort_Name()
The short name of this transit line, e.g.
|
String |
getText_Color()
The text color commonly used in signage for this transit line, represented as a hex string.
|
String |
getUrl()
The agency's URL which is specific to this transit line.
|
TransitVehicle |
getVehicle()
The type of vehicle used, e.g.
|
static TransitLine |
newInstance() |
void |
setAgencies(JsArray<TransitAgency> agencies)
The transit agency that operates this transit line.
|
void |
setColor(String color)
The color commonly used in signage for this transit line, represented as a hex string.
|
void |
setIcon(String icon)
The URL for an icon associated with this line.
|
void |
setName(String name)
The full name of this transit line, e.g.
|
void |
setShort_Name(String shortName)
The short name of this transit line, e.g.
|
void |
setText_Color(String textColor)
The text color commonly used in signage for this transit line, represented as a hex string.
|
void |
setUrl(String url)
The agency's URL which is specific to this transit line.
|
void |
setVehicle(TransitVehicle vehicle)
The type of vehicle used, e.g.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final TransitLine newInstance()
public final void setAgencies(JsArray<TransitAgency> agencies)
public final JsArray<TransitAgency> getAgencies()
public final void setColor(String color)
public final String getColor()
public final void setIcon(String icon)
public final String getIcon()
public final void setName(String name)
public final String getName()
public final void setShort_Name(String shortName)
public final String getShort_Name()
public final void setText_Color(String textColor)
public final String getText_Color()
public final void setUrl(String url)
public final String getUrl()
public final void setVehicle(TransitVehicle vehicle)
public final TransitVehicle getVehicle()
Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.