Class ThincSMsgFBFillPixMap

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

public final class ThincSMsgFBFillPixMap
extends ThincSMsgFB

class for filling the regions with pixel-map images to the frame buffer. it is almost as same as ThincSMsgFillBilevel

Author:
Young Jin Yoon
See Also:
ThincSMsgFB, ThincSMsgFBFillBilevel

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
           
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgFBFillPixMap(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgFBFillPixMap object.
 
Method Summary
 void process()
          process() get the source pixel-map image from cache or network and try to draw an image 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
Constructor Detail

ThincSMsgFBFillPixMap

public ThincSMsgFBFillPixMap(ThincMsgHandler h,
                             ThincClientCanvas c)
creates ThincSMsgFBFillPixMap 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 pixel-map image from cache or network and try to draw an image using drawTile(), drawImage(), drawImageScaled() methods from ThincClientCanvas class.

Specified by:
process in class ThincMsg
Throws:
ThincException