Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
NativeLong |
background_pixel |
X11.Pixmap |
background_pixmap |
NativeLong |
backing_pixel |
NativeLong |
backing_planes |
int |
backing_store |
int |
bit_gravity |
NativeLong |
border_pixel |
X11.Pixmap |
border_pixmap |
X11.Colormap |
colormap |
X11.Cursor |
cursor |
NativeLong |
do_not_propagate_mask |
NativeLong |
event_mask |
static List<String> |
FIELDS |
boolean |
override_redirect |
boolean |
save_under |
int |
win_gravity |
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
XSetWindowAttributes() |
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 X11.Pixmap background_pixmap
public NativeLong background_pixel
public X11.Pixmap border_pixmap
public NativeLong border_pixel
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 NativeLong event_mask
public NativeLong do_not_propagate_mask
public boolean override_redirect
public X11.Colormap colormap
public X11.Cursor cursor
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