|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.defcon.communication.messages.commands.DefConCommand
cz.cuni.amis.pogamut.defcon.communication.messages.commands.WhiteboardDraw
public class WhiteboardDraw
Draw a line on the whiteboard.
| Constructor Summary | |
|---|---|
WhiteboardDraw(DefConLocation firstPoint,
DefConLocation secondPoint)
Creates new instance of command WhiteboardDraw. |
|
WhiteboardDraw(WhiteboardDraw original)
Cloning constructor... |
|
| Method Summary | |
|---|---|
DefConLocation |
getFirstPoint()
Line begin. |
DefConLocation |
getSecondPoint()
Line end. |
void |
perform()
Performs the command - to be used only by the DefConCommandExecutor. |
WhiteboardDraw |
setFirstPoint(DefConLocation firstPoint)
Line begin. |
WhiteboardDraw |
setSecondPoint(DefConLocation secondPoint)
Line end. |
String |
toHtmlString()
Returns message in html format. |
String |
toString()
Returns human readable serialization of the message. |
| Methods inherited from class cz.cuni.amis.pogamut.defcon.communication.messages.commands.DefConCommand |
|---|
getStringizedFields, toMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WhiteboardDraw(DefConLocation firstPoint,
DefConLocation secondPoint)
firstPoint - Line begin.secondPoint - Line end.public WhiteboardDraw(WhiteboardDraw original)
original - | Method Detail |
|---|
public DefConLocation getFirstPoint()
public WhiteboardDraw setFirstPoint(DefConLocation firstPoint)
firstPoint -
public DefConLocation getSecondPoint()
public WhiteboardDraw setSecondPoint(DefConLocation secondPoint)
secondPoint -
public void perform()
DefConCommandExecutor.
perform in class DefConCommandpublic String toString()
toString in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessagepublic String toHtmlString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||