目录

Transport

Class Info

public class Transport

Transport tool entity class.

Public Method Summary

Qualifier and Type

Method Name and Description

String

getCategory()

Obtains the transport category.

String

getColor()

Obtains the transport route color or the background color of the route name.

String

getHeadsign()

Obtains the head sign of the transport route.

String

getMode()

Obtains the transport mode of the route.

String

getName()

Obtains the name of the transport route.

String

getTextColor()

Obtains the color of the transport tool name.

Public Methods

[h2]getCategory

Method

public String getCategory()

Obtains the transport category.

Returns

Type

Description

String

Transport category, such as bus, cable car, tramcar, and train.

[h2]getColor

Method

public String getColor()

Obtains the transport route color or the background color of the route name.

Returns

Type

Description

String

Transport route color or the background color of the route name, for example, #FF0000.

[h2]getHeadsign

Method

public String getHeadsign()

Obtains the head sign of the transport route.

Returns

Type

Description

String

Head sign of the transport route.

[h2]getMode

Method

public String getMode()

Obtains the transport mode of the route.

Returns

Type

Description

String

Transport mode of the route, for example, bus and monorail.

[h2]getName

Method

public String getName()

Obtains the name of the transport route.

Returns

Type

Description

String

Name of the transport route.

[h2]getTextColor

Method

public String getTextColor()

Obtains the color of the transport tool name.

Returns

Type

Description

String

Color of the transport tool name.