Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
NativeLong |
all_event_masks |
NativeLong |
backing_pixel |
NativeLong |
backing_planes |
int |
backing_store |
int |
bit_gravity |
int |
border_width |
int |
c_class |
X11.Colormap |
colormap |
int |
depth |
NativeLong |
do_not_propagate_mask |
static List<String> |
FIELDS |
int |
height |
boolean |
map_installed |
int |
map_state |
boolean |
override_redirect |
X11.Window |
root |
boolean |
save_under |
X11.Screen |
screen |
X11.Visual |
visual |
int |
width |
int |
win_gravity |
int |
x |
int |
y |
NativeLong |
your_event_mask |
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
XWindowAttributes() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public int x
public int y
public int width
public int height
public int border_width
public int depth
public X11.Visual visual
public X11.Window root
public int c_class
public int bit_gravity
public int win_gravity
public int backing_store
public NativeLong backing_planes
public NativeLong backing_pixel
public boolean save_under
public X11.Colormap colormap
public boolean map_installed
public int map_state
public NativeLong all_event_masks
public NativeLong your_event_mask
public NativeLong do_not_propagate_mask
public boolean override_redirect
public X11.Screen screen
protected List<String> getFieldOrder()
Structure
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that
you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the
field order as returned by Class.getFields()
is not
guaranteed to be predictable.getFieldOrder
in class Structure