|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
mns.MNSRobotPartEvent
public class MNSRobotPartEvent
simple event generated by the CNSRobot Part to indicate its status or send a command to thew CNS
| Constructor Summary | |
|---|---|
MNSRobotPartEvent(int state,
MNSRobotPart source)
constructor |
|
MNSRobotPartEvent(java.lang.String command,
MNSRobotPart source)
constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getCommand()
get the command |
MNSRobotPart |
getComSource()
get the source of this command |
int |
getState()
|
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MNSRobotPartEvent(java.lang.String command,
MNSRobotPart source)
command - - commandsource - - source fo the command
public MNSRobotPartEvent(int state,
MNSRobotPart source)
command - - commandsource - - source fo the command| Method Detail |
|---|
public java.lang.String getCommand()
public MNSRobotPart getComSource()
public int getState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||