PLplot  5.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
PLGraphicsIn.java
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 2.0.11
4  *
5  * Do not make changes to this file unless you know what you are doing--modify
6  * the SWIG interface file instead.
7  * ----------------------------------------------------------------------------- */
8 
9 package plplot.core;
10 
11 public class PLGraphicsIn {
12  private long swigCPtr;
13  protected boolean swigCMemOwn;
14 
15  protected PLGraphicsIn(long cPtr, boolean cMemoryOwn) {
16  swigCMemOwn = cMemoryOwn;
17  swigCPtr = cPtr;
18  }
19 
20  protected static long getCPtr(PLGraphicsIn obj) {
21  return (obj == null) ? 0 : obj.swigCPtr;
22  }
23 
24  protected void finalize() {
25  delete();
26  }
27 
28  public synchronized void delete() {
29  if (swigCPtr != 0) {
30  if (swigCMemOwn) {
31  swigCMemOwn = false;
32  plplotjavacJNI.delete_PLGraphicsIn(swigCPtr);
33  }
34  swigCPtr = 0;
35  }
36  }
37 
38  public void setType(int value) {
39  plplotjavacJNI.PLGraphicsIn_type_set(swigCPtr, value);
40  }
41 
42  public int getType() {
43  return plplotjavacJNI.PLGraphicsIn_type_get(swigCPtr);
44  }
45 
46  public void setState(long value) {
47  plplotjavacJNI.PLGraphicsIn_state_set(swigCPtr, value);
48  }
49 
50  public long getState() {
51  return plplotjavacJNI.PLGraphicsIn_state_get(swigCPtr);
52  }
53 
54  public void setKeysym(long value) {
55  plplotjavacJNI.PLGraphicsIn_keysym_set(swigCPtr, value);
56  }
57 
58  public long getKeysym() {
59  return plplotjavacJNI.PLGraphicsIn_keysym_get(swigCPtr);
60  }
61 
62  public void setButton(long value) {
63  plplotjavacJNI.PLGraphicsIn_button_set(swigCPtr, value);
64  }
65 
66  public long getButton() {
67  return plplotjavacJNI.PLGraphicsIn_button_get(swigCPtr);
68  }
69 
70  public void setSubwindow(int value) {
71  plplotjavacJNI.PLGraphicsIn_subwindow_set(swigCPtr, value);
72  }
73 
74  public int getSubwindow() {
75  return plplotjavacJNI.PLGraphicsIn_subwindow_get(swigCPtr);
76  }
77 
78  public void setString(String value) {
79  plplotjavacJNI.PLGraphicsIn_string_set(swigCPtr, value);
80  }
81 
82  public String getString() {
83  return plplotjavacJNI.PLGraphicsIn_string_get(swigCPtr);
84  }
85 
86  public void setPX(int value) {
87  plplotjavacJNI.PLGraphicsIn_pX_set(swigCPtr, value);
88  }
89 
90  public int getPX() {
91  return plplotjavacJNI.PLGraphicsIn_pX_get(swigCPtr);
92  }
93 
94  public void setPY(int value) {
95  plplotjavacJNI.PLGraphicsIn_pY_set(swigCPtr, value);
96  }
97 
98  public int getPY() {
99  return plplotjavacJNI.PLGraphicsIn_pY_get(swigCPtr);
100  }
101 
102  public void setDX(double value) {
103  plplotjavacJNI.PLGraphicsIn_dX_set(swigCPtr, value);
104  }
105 
106  public double getDX() {
107  return plplotjavacJNI.PLGraphicsIn_dX_get(swigCPtr);
108  }
109 
110  public void setDY(double value) {
111  plplotjavacJNI.PLGraphicsIn_dY_set(swigCPtr, value);
112  }
113 
114  public double getDY() {
115  return plplotjavacJNI.PLGraphicsIn_dY_get(swigCPtr);
116  }
117 
118  public void setWX(double value) {
119  plplotjavacJNI.PLGraphicsIn_wX_set(swigCPtr, value);
120  }
121 
122  public double getWX() {
123  return plplotjavacJNI.PLGraphicsIn_wX_get(swigCPtr);
124  }
125 
126  public void setWY(double value) {
127  plplotjavacJNI.PLGraphicsIn_wY_set(swigCPtr, value);
128  }
129 
130  public double getWY() {
131  return plplotjavacJNI.PLGraphicsIn_wY_get(swigCPtr);
132  }
133 
134  public PLGraphicsIn() {
135  this(plplotjavacJNI.new_PLGraphicsIn(), true);
136  }
137 
138 }
void setDY(double value)
static long getCPtr(PLGraphicsIn obj)
void setKeysym(long value)
void setButton(long value)
void setWY(double value)
void setState(long value)
void setWX(double value)
void setSubwindow(int value)
static PLFLT value(double n1, double n2, double hue)
Definition: plctrl.c:1203
PLGraphicsIn(long cPtr, boolean cMemoryOwn)
void setType(int value)
void setString(String value)
void setDX(double value)