Modifier and Type | Class and Description |
---|---|
static class |
X11.XSizeHints.Aspect |
Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
int |
base_height |
int |
base_width |
static List<String> |
FIELDS |
NativeLong |
flags |
int |
height |
int |
height_inc |
X11.XSizeHints.Aspect |
max_aspect |
int |
max_height |
int |
max_width |
X11.XSizeHints.Aspect |
min_aspect |
int |
min_height |
int |
min_width |
int |
width |
int |
width_inc |
int |
win_gravity |
int |
x |
int |
y |
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
XSizeHints() |
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 NativeLong flags
public int x
public int y
public int width
public int height
public int min_width
public int min_height
public int max_width
public int max_height
public int width_inc
public int height_inc
public X11.XSizeHints.Aspect min_aspect
public X11.XSizeHints.Aspect max_aspect
public int base_width
public int base_height
public int win_gravity
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