Class ThincSMsgFBFillSolid

java.lang.Object
  extended by ThincMsg
      extended by ThincSMsg
          extended by ThincSMsgFB
              extended by ThincSMsgFBFillSolid

public final class ThincSMsgFBFillSolid
extends ThincSMsgFB

class for filling the regions with color to the frame buffer.

Author:
Young Jin Yoon
See Also:
ThincSMsgFB, ThincSMsgFBFillBilevel

Field Summary
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
static int RECT_MESSAGE_SIZE
           
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgFBFillSolid(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgFBFillSolid object.
 
Method Summary
 void process()
          process() get the region to draw and color from network and try to draw a filled rectangle using drawFillRect() method from 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

public static final int MESSAGE_SIZE
See Also:
Constant Field Values

RECT_MESSAGE_SIZE

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

ThincSMsgFBFillSolid

public ThincSMsgFBFillSolid(ThincMsgHandler h,
                            ThincClientCanvas c)
creates ThincSMsgFBFillSolid 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 region to draw and color from network and try to draw a filled rectangle using drawFillRect() method from ThincClientCanvas class.

Specified by:
process in class ThincMsg
Throws:
ThincException