T
- The type of data to be displayed in the indicatorpublic abstract class Indicator<T>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Indicator.ArrivalIndicator
Represents the driver for a physical arrival indicator, to output the travel direction of a stopping cabin via
light and sound
|
static class |
Indicator.DataAndChime<D,C>
Used as a way to enable storage of both data and audio in an @see#Indicator
|
static class |
Indicator.DoorIndicator
Represents the driver for a physical door state indicator, to output when the cabin doors are open
|
static class |
Indicator.EmergencyIndicator
Represents the driver for a physical emergency indicator, to output the given display and chime in case of
emergency
|
static class |
Indicator.FloorIndicator
Represents the driver for a physical floor indicator, to output the current floor to cabin occupants
|
Constructor and Description |
---|
Indicator(T data) |
Indicator(T data,
boolean active) |
Modifier and Type | Method and Description |
---|---|
T |
data() |
boolean |
isActive() |
Indicator<T> |
setActive(boolean active) |
java.lang.String |
toString() |
public Indicator(T data)
public Indicator(T data, boolean active)
public boolean isActive()
public Indicator<T> setActive(boolean active)
active
- the active to setpublic T data()
public java.lang.String toString()
toString
in class java.lang.Object