gnu.x11
Class Request.Poly

java.lang.Object
  extended by gnu.x11.Data
      extended by gnu.x11.Request
          extended by gnu.x11.Request.Poly
Direct Known Subclasses:
Request.Poly.Arc, Request.Poly.Dot, Request.Poly.Fill, Request.Poly.Rectangle, Request.Poly.Segment
Enclosing class:
Request

public abstract static class Request.Poly
extends Request

Aggregate poly drawing requests.


Nested Class Summary
static class Request.Poly.Arc
          Aggregate poly arc requests.
static class Request.Poly.Dot
          Aggregate poly dot requests.
static class Request.Poly.Fill
          Aggregate fill poly requests.
static class Request.Poly.Rectangle
          Aggregate poly rectangle requests.
static class Request.Poly.Segment
          Aggregate poly segment requests.
 
Nested classes/interfaces inherited from class gnu.x11.Request
Request.Poly, Request.ValueList
 
Field Summary
 Drawable drawable
           
 GC gc
           
 java.util.Vector items_sets
           
 int items_sets_unit_count
           
 int opcode
           
 
Fields inherited from class gnu.x11.Request
length
 
Fields inherited from class gnu.x11.Data
data, index, offset
 
Constructor Summary
Request.Poly(int opcode, Drawable drawable, GC gc, java.lang.Object[] items, int item_unit_count)
           
 
Method Summary
 boolean aggregate(Request request)
           
 boolean more_aggregatep(Request.Poly pr)
           
 void write_head()
           
 void write(java.io.OutputStream out)
           
abstract  void write(java.io.OutputStream out, java.lang.Object item)
           
 
Methods inherited from class gnu.x11.Request
init
 
Methods inherited from class gnu.x11.Data
byte_to_string, len, len, n, np, p, pad, read_boolean, read_double, read_float, read_string, read1, read2, read4_boolean, read4, read8, to_string, toString, unit, unit, unit, write_string16, write_string16, write_unused, write1_unused, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write2_unused, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write3_unused, write4_unused, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write8, write8, write8, write8, write8, write8, write8, write8
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

drawable

public Drawable drawable

gc

public GC gc

items_sets

public java.util.Vector items_sets

items_sets_unit_count

public int items_sets_unit_count

opcode

public int opcode
Constructor Detail

Request.Poly

public Request.Poly(int opcode,
                    Drawable drawable,
                    GC gc,
                    java.lang.Object[] items,
                    int item_unit_count)
Method Detail

aggregate

public boolean aggregate(Request request)

more_aggregatep

public boolean more_aggregatep(Request.Poly pr)

write

public void write(java.io.OutputStream out)
           throws java.io.IOException
Throws:
java.io.IOException

write

public abstract void write(java.io.OutputStream out,
                           java.lang.Object item)
                    throws java.io.IOException
Throws:
java.io.IOException

write_head

public void write_head()