Class ThincSMsgFBFillBilevel

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

public final class ThincSMsgFBFillBilevel
extends ThincSMsgFB

class for filling the regions with bitmap images to the frame buffer.

Author:
Young Jin Yoon
See Also:
ThincSMsgFB

Field Summary
private  ThincSMsgFlagCache cache
           
static int FLAG_ADDCACHE
           
static int FLAG_CACHED
           
static int FLAG_RESIZED
           
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
static int RECT_MESSAGE_SIZE
           
private  ThincSMsgFlagResize resize
           
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgFBFillBilevel(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgFBFillBilevel object.
 
Method Summary
 void process()
          process() get the source bitmap image from cache or network and try to generate RGB image with those. finally draw it into frame buffer using drawTile(), drawImage(), drawImageScaled() methods 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

FLAG_CACHED

public static final int FLAG_CACHED
See Also:
Constant Field Values

FLAG_ADDCACHE

public static final int FLAG_ADDCACHE
See Also:
Constant Field Values

FLAG_RESIZED

public static final int FLAG_RESIZED
See Also:
Constant Field Values

cache

private ThincSMsgFlagCache cache

resize

private ThincSMsgFlagResize resize
Constructor Detail

ThincSMsgFBFillBilevel

public ThincSMsgFBFillBilevel(ThincMsgHandler h,
                              ThincClientCanvas c)
creates ThincSMsgFBFillBilevel 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 source bitmap image from cache or network and try to generate RGB image with those. finally draw it into frame buffer using drawTile(), drawImage(), drawImageScaled() methods from ThincClientCanvas class.

Specified by:
process in class ThincMsg
Throws:
ThincException