|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjosx.rcxcomm.remotecontrol.RemoteControlAdapter
This class is an adapter for the remote control listener.
Constructor Summary | |
RemoteControlAdapter()
creates a new instance of RemoteControlAdapter |
Method Summary | |
void |
message1Pressed()
handler for the message 1 button |
void |
message2Pressed()
handler for the message 2 button |
void |
message3Pressed()
handler for the message 3 button |
void |
motorDownPressed(Motor aMotor)
decrement motor power |
void |
motorUpPressed(Motor aMotor)
increment motor power |
void |
program1Pressed()
handler for the program 1 button |
void |
program2Pressed()
handler for the program 2 button |
void |
program3Pressed()
handler for the program 3 button |
void |
program4Pressed()
handler for the program 4 button |
void |
program5Pressed()
handler for the program 5 button |
void |
soundPressed()
handler for the sound button |
void |
stopPressed()
handler for the stop button |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
Constructor Detail |
public RemoteControlAdapter()
Method Detail |
public void message1Pressed()
message1Pressed
in interface RemoteControlListener
public void message2Pressed()
message2Pressed
in interface RemoteControlListener
public void message3Pressed()
message3Pressed
in interface RemoteControlListener
public void motorDownPressed(Motor aMotor)
motorDownPressed
in interface RemoteControlListener
aMotor
- the motorpublic void motorUpPressed(Motor aMotor)
motorUpPressed
in interface RemoteControlListener
aMotor
- the motorpublic void program1Pressed()
program1Pressed
in interface RemoteControlListener
public void program2Pressed()
program2Pressed
in interface RemoteControlListener
public void program3Pressed()
program3Pressed
in interface RemoteControlListener
public void program4Pressed()
program4Pressed
in interface RemoteControlListener
public void program5Pressed()
program5Pressed
in interface RemoteControlListener
public void soundPressed()
soundPressed
in interface RemoteControlListener
public void stopPressed()
stopPressed
in interface RemoteControlListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |