Class ThincSMsgCursorMove
java.lang.Object
ThincMsg
ThincSMsg
ThincSMsgCursor
ThincSMsgCursorMove
public final class ThincSMsgCursorMove
- extends ThincSMsgCursor
handles move the cursor to new coordination. it comes with new x and y coordinates.
now it only receive and parse the message but not moving cursor around. To move the
cursor, delete '//' in the last line of this class, which
actually move the cursor.
- Author:
- Young Jin Yoon
- See Also:
ThincSMsgCursor
Method Summary |
void |
process()
process()
get the new coordination for cursor and change the position using
moveThincCursor() method in ThincClientCanvas class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MESSAGE_TYPE
public static final int MESSAGE_TYPE
- See Also:
- Constant Field Values
MESSAGE_SIZE
public static final int MESSAGE_SIZE
- See Also:
- Constant Field Values
ThincSMsgCursorMove
public ThincSMsgCursorMove(ThincMsgHandler h,
ThincClientCanvas c)
- creates ThincSMsgCursorMove object.
- Parameters:
h
- ThincMsgHandler
to handle the messagec
- ThincClientCanvas
to get the information
process
public void process()
throws ThincException
- process()
get the new coordination for cursor and change the position using
moveThincCursor() method in ThincClientCanvas class.
- Specified by:
process
in class ThincMsg
- Throws:
ThincException