Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 package plplot.core;
00010
00011 public class PLGraphicsIn {
00012 private long swigCPtr;
00013 protected boolean swigCMemOwn;
00014
00015 protected PLGraphicsIn(long cPtr, boolean cMemoryOwn) {
00016 swigCMemOwn = cMemoryOwn;
00017 swigCPtr = cPtr;
00018 }
00019
00020 protected static long getCPtr(PLGraphicsIn obj) {
00021 return (obj == null) ? 0 : obj.swigCPtr;
00022 }
00023
00024 protected void finalize() {
00025 delete();
00026 }
00027
00028 public synchronized void delete() {
00029 if (swigCPtr != 0) {
00030 if (swigCMemOwn) {
00031 swigCMemOwn = false;
00032 plplotjavacJNI.delete_PLGraphicsIn(swigCPtr);
00033 }
00034 swigCPtr = 0;
00035 }
00036 }
00037
00038 public void setType(int value) {
00039 plplotjavacJNI.PLGraphicsIn_type_set(swigCPtr, value);
00040 }
00041
00042 public int getType() {
00043 return plplotjavacJNI.PLGraphicsIn_type_get(swigCPtr);
00044 }
00045
00046 public void setState(long value) {
00047 plplotjavacJNI.PLGraphicsIn_state_set(swigCPtr, value);
00048 }
00049
00050 public long getState() {
00051 return plplotjavacJNI.PLGraphicsIn_state_get(swigCPtr);
00052 }
00053
00054 public void setKeysym(long value) {
00055 plplotjavacJNI.PLGraphicsIn_keysym_set(swigCPtr, value);
00056 }
00057
00058 public long getKeysym() {
00059 return plplotjavacJNI.PLGraphicsIn_keysym_get(swigCPtr);
00060 }
00061
00062 public void setButton(long value) {
00063 plplotjavacJNI.PLGraphicsIn_button_set(swigCPtr, value);
00064 }
00065
00066 public long getButton() {
00067 return plplotjavacJNI.PLGraphicsIn_button_get(swigCPtr);
00068 }
00069
00070 public void setSubwindow(int value) {
00071 plplotjavacJNI.PLGraphicsIn_subwindow_set(swigCPtr, value);
00072 }
00073
00074 public int getSubwindow() {
00075 return plplotjavacJNI.PLGraphicsIn_subwindow_get(swigCPtr);
00076 }
00077
00078 public void setString(String value) {
00079 plplotjavacJNI.PLGraphicsIn_string_set(swigCPtr, value);
00080 }
00081
00082 public String getString() {
00083 return plplotjavacJNI.PLGraphicsIn_string_get(swigCPtr);
00084 }
00085
00086 public void setPX(int value) {
00087 plplotjavacJNI.PLGraphicsIn_pX_set(swigCPtr, value);
00088 }
00089
00090 public int getPX() {
00091 return plplotjavacJNI.PLGraphicsIn_pX_get(swigCPtr);
00092 }
00093
00094 public void setPY(int value) {
00095 plplotjavacJNI.PLGraphicsIn_pY_set(swigCPtr, value);
00096 }
00097
00098 public int getPY() {
00099 return plplotjavacJNI.PLGraphicsIn_pY_get(swigCPtr);
00100 }
00101
00102 public void setDX(double value) {
00103 plplotjavacJNI.PLGraphicsIn_dX_set(swigCPtr, value);
00104 }
00105
00106 public double getDX() {
00107 return plplotjavacJNI.PLGraphicsIn_dX_get(swigCPtr);
00108 }
00109
00110 public void setDY(double value) {
00111 plplotjavacJNI.PLGraphicsIn_dY_set(swigCPtr, value);
00112 }
00113
00114 public double getDY() {
00115 return plplotjavacJNI.PLGraphicsIn_dY_get(swigCPtr);
00116 }
00117
00118 public void setWX(double value) {
00119 plplotjavacJNI.PLGraphicsIn_wX_set(swigCPtr, value);
00120 }
00121
00122 public double getWX() {
00123 return plplotjavacJNI.PLGraphicsIn_wX_get(swigCPtr);
00124 }
00125
00126 public void setWY(double value) {
00127 plplotjavacJNI.PLGraphicsIn_wY_set(swigCPtr, value);
00128 }
00129
00130 public double getWY() {
00131 return plplotjavacJNI.PLGraphicsIn_wY_get(swigCPtr);
00132 }
00133
00134 public PLGraphicsIn() {
00135 this(plplotjavacJNI.new_PLGraphicsIn(), true);
00136 }
00137
00138 }