gnu.x11
Class Visual
java.lang.Object
gnu.x11.Data
gnu.x11.Visual
public class Visual
- extends Data
X visual.
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 |
COPY_FROM_PARENT
public static final Visual COPY_FROM_PARENT
STATIC_GRAY
public static final int STATIC_GRAY
- See Also:
- Constant Field Values
GRAY_SCALE
public static final int GRAY_SCALE
- See Also:
- Constant Field Values
STATIC_COLOR
public static final int STATIC_COLOR
- See Also:
- Constant Field Values
PSEUDO_COLOR
public static final int PSEUDO_COLOR
- See Also:
- Constant Field Values
TRUE_COLOR
public static final int TRUE_COLOR
- See Also:
- Constant Field Values
DIRECT_COLOR
public static final int DIRECT_COLOR
- See Also:
- Constant Field Values
CLASS_STRINGS
public static final java.lang.String[] CLASS_STRINGS
Visual
public Visual(int length)
Visual
public Visual(Data data,
int offset)
id
public int id()
bits_per_rgb_value
public int bits_per_rgb_value()
colormap_entries
public int colormap_entries()
red_mask
public int red_mask()
green_mask
public int green_mask()
blue_mask
public int blue_mask()
klass
public int klass()
- Returns:
- valid:
STATIC_GRAY
STATIC_COLOR
TRUE_COLOR
GRAY_SCALE
PSEUDO_COLOR
DIRECT_COLOR
toString
public java.lang.String toString()
- Overrides:
toString
in class Data