|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISpeedControl
A speed limit for a group of behaviours, that would be applied to a lane.
| Field Summary |
|---|
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
boolean |
appliesTo(IBehaviour b)
Returns true if the given behaviour is controlled by this speed control |
NamedColour |
colour()
Returns a colour which is used to highlight this speed control |
void |
colour(NamedColour colour)
Sets a colour which is used to highlight this speed control |
void |
description(String s)
A description of this speed control |
int |
index()
The unique numeric index for this speed control |
double |
speed()
Returns the speed (in m/s) which this control applies to selected vehicles on the lane |
void |
speed(double speed)
Sets the speed (in m/s) which this control applies to selected vehicles on the lane |
| Methods inherited from interface com.azalient.api.a.tables.IDescribed |
|---|
description |
| Methods inherited from interface com.azalient.api.file.StoreRecordRW |
|---|
canRename, rename, store |
| Methods inherited from interface com.azalient.api.file.RecordR |
|---|
extraSet, finished, isApplicable, isEditable, set |
| Methods inherited from interface com.azalient.api.a.tables.IRecord |
|---|
name |
| Methods inherited from interface com.azalient.api.file.RecordW |
|---|
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile |
| Method Detail |
|---|
int index()
void description(String s)
double speed()
void speed(double speed)
NamedColour colour()
void colour(NamedColour colour)
boolean appliesTo(IBehaviour b)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||