Class ThincSMsgCursorChange

java.lang.Object
  extended by ThincMsg
      extended by ThincSMsg
          extended by ThincSMsgCursor
              extended by ThincSMsgCursorChange

public final class ThincSMsgCursorChange
extends ThincSMsgCursor

handles changing the cursor. it comes with new hot x and y coordinates, and images/bitmaps for brand new cursor.

Author:
Young Jin Yoon
See Also:
ThincSMsgCursor

Field Summary
static int FLAG_ARGB
           
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgCursorChange(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgCursorChange object.
 
Method Summary
 void process()
          process() get the new information about cursor such as hot x, hot y, size and image respectively, and set it into ThincClientCanvas object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

FLAG_ARGB

public static final int FLAG_ARGB
See Also:
Constant Field Values
Constructor Detail

ThincSMsgCursorChange

public ThincSMsgCursorChange(ThincMsgHandler h,
                             ThincClientCanvas c)
creates ThincSMsgCursorChange object.

Parameters:
h - ThincMsgHandler to handle the message
c - ThincClientCanvas to get the information
Method Detail

process

public void process()
             throws ThincException
process() get the new information about cursor such as hot x, hot y, size and image respectively, and set it into ThincClientCanvas object.

Specified by:
process in class ThincMsg
Throws:
ThincException