public class RemoteControl extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) Command[] |
offCommands |
(package private) Command[] |
onCommands |
Constructor and Description |
---|
RemoteControl() |
Modifier and Type | Method and Description |
---|---|
void |
offButtonWasPushed(int slot) |
void |
onButtonWasPushed(int slot) |
void |
setCommand(int slot,
Command onCommand,
Command offCommand) |
java.lang.String |
toString() |
Command[] onCommands
Command[] offCommands
public RemoteControl()
public void setCommand(int slot, Command onCommand, Command offCommand)
public void onButtonWasPushed(int slot)
public void offButtonWasPushed(int slot)
public java.lang.String toString()
toString
in class java.lang.Object