public interface SwitchableLight extends Light
SwitchableLight
instances are Light
s whose on/off status can be
programmatically manipulated.Light
Modifier and Type | Method and Description |
---|---|
void |
enableLight(boolean enable)
Turns the light on or off.
|