Package | Description |
---|---|
io.elevator.building |
Shell Package
The building package encompasses the wrappers organizing components relating to the elevators hardware, including the building itself, the hoistway, and control panels representing the cabin, each floor, and the maintenance room |
io.elevator.components |
The components package encompasses drivers for physical external components (hardware) and some necessary linkages
|
Modifier and Type | Method and Description |
---|---|
Buttons<java.lang.Boolean> |
ControlPanel.FloorControlPanel.getCallButtonDown()
Requests the cabin stop at this landing to travel down
|
Buttons<java.lang.Boolean> |
ControlPanel.FloorControlPanel.getCallButtonUp()
Requests the cabin stop at this landing to travel up
|
Buttons<java.lang.Boolean> |
ControlPanel.CabinControlPanel.getDoorCloseButton()
Signals the doors to close, may or may not be a placebo
|
Buttons<java.lang.Boolean> |
ControlPanel.CabinControlPanel.getDoorOpenButton()
Signals the doors to open
|
Modifier and Type | Method and Description |
---|---|
java.util.LinkedList<Buttons<ButtonType>> |
ControlPanel.getMainButtonsOnPanel()
A list of all the main-purpose buttons on a control panel.
|
Constructor and Description |
---|
ControlPanel(java.util.List<Buttons<ButtonType>> buttons,
FiremanKeyhole fireKey)
Creates a control panel comprising a list of buttons and a fire key
|
Modifier and Type | Method and Description |
---|---|
Buttons<T> |
Buttons.press()
Used to set the pressed status of the button to true Note: this does NOT light the button.
|
Buttons<T> |
Buttons.setLit()
Used to toggle the light status of a button
|
Buttons<T> |
Buttons.setLit(boolean lit)
Used to set the light status of a button
|
Buttons<T> |
Buttons.setPressed(boolean pressed)
Used to set the pressed status of a button
|
Buttons<T> |
Buttons.togglePress()
Used to toggle the pressed status of a button
|