// This file is an automatically generated file, please do not edit this file, modify the WrapperGenerator.java file instead ! package sun.awt.X11; import sun.misc.*; import java.util.logging.*; public class XSizeHints extends XWrapperBase { private Unsafe unsafe = XlibWrapper.unsafe; private final boolean should_free_memory; public static int getSize() { return 80; } public int getDataSize() { return getSize(); } long pData; public long getPData() { return pData; } XSizeHints(long addr) { log.finest("Creating"); pData=addr; should_free_memory = false; } XSizeHints() { log.finest("Creating"); pData = unsafe.allocateMemory(getSize()); should_free_memory = true; } public void dispose() { log.finest("Disposing"); if (should_free_memory) { log.finest("freeing memory"); unsafe.freeMemory(pData); } } public long get_flags() { log.finest("");return (Native.getLong(pData+0)); } public void set_flags(long v) { log.finest(""); Native.putLong(pData+0, v); } public int get_x() { log.finest("");return (Native.getInt(pData+8)); } public void set_x(int v) { log.finest(""); Native.putInt(pData+8, v); } public int get_y() { log.finest("");return (Native.getInt(pData+12)); } public void set_y(int v) { log.finest(""); Native.putInt(pData+12, v); } public int get_width() { log.finest("");return (Native.getInt(pData+16)); } public void set_width(int v) { log.finest(""); Native.putInt(pData+16, v); } public int get_height() { log.finest("");return (Native.getInt(pData+20)); } public void set_height(int v) { log.finest(""); Native.putInt(pData+20, v); } public int get_min_width() { log.finest("");return (Native.getInt(pData+24)); } public void set_min_width(int v) { log.finest(""); Native.putInt(pData+24, v); } public int get_min_height() { log.finest("");return (Native.getInt(pData+28)); } public void set_min_height(int v) { log.finest(""); Native.putInt(pData+28, v); } public int get_max_width() { log.finest("");return (Native.getInt(pData+32)); } public void set_max_width(int v) { log.finest(""); Native.putInt(pData+32, v); } public int get_max_height() { log.finest("");return (Native.getInt(pData+36)); } public void set_max_height(int v) { log.finest(""); Native.putInt(pData+36, v); } public int get_width_inc() { log.finest("");return (Native.getInt(pData+40)); } public void set_width_inc(int v) { log.finest(""); Native.putInt(pData+40, v); } public int get_height_inc() { log.finest("");return (Native.getInt(pData+44)); } public void set_height_inc(int v) { log.finest(""); Native.putInt(pData+44, v); } public int get_min_aspect_x() { log.finest("");return (Native.getInt(pData+48)); } public void set_min_aspect_x(int v) { log.finest(""); Native.putInt(pData+48, v); } public int get_min_aspect_y() { log.finest("");return (Native.getInt(pData+52)); } public void set_min_aspect_y(int v) { log.finest(""); Native.putInt(pData+52, v); } public int get_max_aspect_x() { log.finest("");return (Native.getInt(pData+56)); } public void set_max_aspect_x(int v) { log.finest(""); Native.putInt(pData+56, v); } public int get_max_aspect_y() { log.finest("");return (Native.getInt(pData+60)); } public void set_max_aspect_y(int v) { log.finest(""); Native.putInt(pData+60, v); } public int get_base_width() { log.finest("");return (Native.getInt(pData+64)); } public void set_base_width(int v) { log.finest(""); Native.putInt(pData+64, v); } public int get_base_height() { log.finest("");return (Native.getInt(pData+68)); } public void set_base_height(int v) { log.finest(""); Native.putInt(pData+68, v); } public int get_win_gravity() { log.finest("");return (Native.getInt(pData+72)); } public void set_win_gravity(int v) { log.finest(""); Native.putInt(pData+72, v); } String getName() { return "XSizeHints"; } String getFieldsAsString() { String ret=""; ret += ""+"flags = " + get_flags() +", "; ret += ""+"x = " + get_x() +", "; ret += ""+"y = " + get_y() +", "; ret += ""+"width = " + get_width() +", "; ret += ""+"height = " + get_height() +", "; ret += ""+"min_width = " + get_min_width() +", "; ret += ""+"min_height = " + get_min_height() +", "; ret += ""+"max_width = " + get_max_width() +", "; ret += ""+"max_height = " + get_max_height() +", "; ret += ""+"width_inc = " + get_width_inc() +", "; ret += ""+"height_inc = " + get_height_inc() +", "; ret += ""+"min_aspect_x = " + get_min_aspect_x() +", "; ret += ""+"min_aspect_y = " + get_min_aspect_y() +", "; ret += ""+"max_aspect_x = " + get_max_aspect_x() +", "; ret += ""+"max_aspect_y = " + get_max_aspect_y() +", "; ret += ""+"base_width = " + get_base_width() +", "; ret += ""+"base_height = " + get_base_height() +", "; ret += ""+"win_gravity = " + get_win_gravity() +", "; return ret; } }