Class ThincSMsgCursorColor

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

public final class ThincSMsgCursorColor
extends ThincSMsgCursor

handles changing the color of the cursor. it comes with new foreground and background colors.

Author:
Young Jin Yoon
See Also:
ThincSMsgCursor

Field Summary
private static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgCursorColor(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgCursorColor object.
 
Method Summary
 void process()
          process() get the foreground and background color for cursor and change the color using colorChangeCursor() method in ThincClientCanvas class.
 
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

private static final int MESSAGE_SIZE
See Also:
Constant Field Values
Constructor Detail

ThincSMsgCursorColor

public ThincSMsgCursorColor(ThincMsgHandler h,
                            ThincClientCanvas c)
creates ThincSMsgCursorColor 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 foreground and background color for cursor and change the color using colorChangeCursor() method in ThincClientCanvas class.

Specified by:
process in class ThincMsg
Throws:
ThincException