gnu.x11
Class Screen

java.lang.Object
  extended by gnu.x11.Data
      extended by gnu.x11.Screen

public class Screen
extends Data

X Screen.


Field Summary
static int ALWAYS
           
static java.lang.String[] BACKING_STORES_STRINGS
           
 Display display
           
static int NEVER
           
static int WHEN_MAPPED
           
 
Fields inherited from class gnu.x11.Data
data, index, offset
 
Constructor Summary
Screen(Display display, Data data, int offset)
           
 
Method Summary
 int allowed_depth_count()
           
 int backing_stores()
           
 int black_pixel()
           
 Color black()
           
 int default_colormap_id()
           
 Colormap default_colormap()
           
 GC default_gc()
          Shared, read-only resource in general.
 Enum depths()
           
 int height_mm()
           
 int height()
           
 int length()
           
 int max_installed_maps()
           
 int min_installed_maps()
           
 int root_depth()
           
 int root_id()
           
 int root_visual_id()
           
 Window root()
           
 boolean save_unders()
           
 java.lang.String toString()
           
 int white_pixel()
           
 Color white()
           
 int width_mm()
           
 int width()
           
 
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, 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

display

public Display display

NEVER

public static final int NEVER
See Also:
Constant Field Values

WHEN_MAPPED

public static final int WHEN_MAPPED
See Also:
Constant Field Values

ALWAYS

public static final int ALWAYS
See Also:
Constant Field Values

BACKING_STORES_STRINGS

public static final java.lang.String[] BACKING_STORES_STRINGS
Constructor Detail

Screen

public Screen(Display display,
              Data data,
              int offset)
Method Detail

root_id

public int root_id()

default_colormap_id

public int default_colormap_id()

white_pixel

public int white_pixel()

black_pixel

public int black_pixel()

width

public int width()

height

public int height()

width_mm

public int width_mm()

height_mm

public int height_mm()

min_installed_maps

public int min_installed_maps()

max_installed_maps

public int max_installed_maps()

root_visual_id

public int root_visual_id()

save_unders

public boolean save_unders()

root_depth

public int root_depth()

allowed_depth_count

public int allowed_depth_count()

white

public Color white()

black

public Color black()

backing_stores

public int backing_stores()
Returns:
valid: NEVER WHEN_MAPPED ALWAYS

default_colormap

public Colormap default_colormap()

default_gc

public GC default_gc()
Shared, read-only resource in general.


depths

public Enum depths()
Returns:
valid: Enum.elt(int), Enum.next() of type Depth

length

public int length()

root

public Window root()

toString

public java.lang.String toString()
Overrides:
toString in class Data