gnu.rfb
Class CopyRect

java.lang.Object
  extended by gnu.rfb.Rect
      extended by gnu.rfb.CopyRect
All Implemented Interfaces:
java.lang.Cloneable

public class CopyRect
extends Rect


Field Summary
 int srcX
           
 int srcY
           
 
Fields inherited from class gnu.rfb.Rect
count, h, w, x, y
 
Constructor Summary
CopyRect(int x, int y, int w, int h, int srcX, int srcY)
          Default constructor
 
Method Summary
 void writeData(java.io.DataOutput output)
          Writes out a CopyRect message to the given output.
 
Methods inherited from class gnu.rfb.Rect
bestEncoding, clone, encode, encode, encode, toString, transform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

srcX

public int srcX

srcY

public int srcY
Constructor Detail

CopyRect

public CopyRect(int x,
                int y,
                int w,
                int h,
                int srcX,
                int srcY)
Default constructor

Parameters:
x - The x-location of the source rectangle
y - The y-location of the source rectangle
w - The width of the source rectangle
h - The height of the source rectangle
srcX - The x-location of the destination rectangle
srcY - The y-location of the destination rectangle
Method Detail

writeData

public void writeData(java.io.DataOutput output)
               throws java.io.IOException
Writes out a CopyRect message to the given output.

Overrides:
writeData in class Rect
Parameters:
output - The output to write to.
Throws:
java.io.IOException - If unable to write to the output.