|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISign
This object represents a variable message sign. It can be used to display messages for drivers, for example, the number of spaces remaining in a parking area.
| Field Summary | |
|---|---|
static String |
BLANK
The default message on a sign |
static ISign[] |
ZERO
A static zero-length array, created for convenience, and to save memory |
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
String |
auxiliaryMessage(Alignment2D a)
An auxiliary message displayed on the sign, in a position relative to the main message as specified by the alignment. |
void |
auxiliaryMessage(String format,
Alignment2D a)
Set the auxiliary message displayed on the sign. |
NamedColour |
colour()
Returns the colour of the outer part of the sign |
void |
colour(NamedColour colour)
Sets the colour of the outer part of the sign |
void |
draw(IDrawing drw,
int rgb)
Draw this sign in the given colour |
IShape |
image()
Returns a reference to any image shape attached to this sign. |
void |
image(String imageName,
Alignment2D a)
Attach an image to this sign, by passing in the name of an image already loaded into the shapes library. |
String |
label()
Returns a non-unique descriptive name for the sign |
void |
label(String s)
Sets a non-unique descriptive name for the sign |
ILane |
lane()
The lane on which this sign is located |
ILaneLocation |
location()
The lane-distance location of this sign |
String |
message()
A (variable) message displayed on the sign |
void |
message(String format)
Set the (variable) message displayed on the sign |
| Methods inherited from interface com.azalient.api.a.tables.IDescribed |
|---|
description |
| Methods inherited from interface com.azalient.api.a.IUserData |
|---|
userData, userData, userDataHashCode |
| 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 |
| Field Detail |
|---|
static final ISign[] ZERO
static final String BLANK
| Method Detail |
|---|
ILane lane()
ILaneLocation location()
String label()
void label(String s)
String message()
String auxiliaryMessage(Alignment2D a)
void message(String format)
void auxiliaryMessage(String format,
Alignment2D a)
auxiliaryMessage(Alignment2D)
NamedColour colour()
void colour(NamedColour colour)
IShape image()
void image(String imageName,
Alignment2D a)
void draw(IDrawing drw,
int rgb)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||