1 // java wrapper for vtkContextArea object
7 public class vtkContextArea extends vtkAbstractContextItem
10 private native int IsTypeOf_0(String id0);
11 public int IsTypeOf(String id0)
12 { return IsTypeOf_0(id0); }
14 private native int IsA_1(String id0);
15 public int IsA(String id0)
16 { return IsA_1(id0); }
18 private native long GetAxis_2(int id0);
19 public vtkAxis GetAxis(int id0) {
20 long temp = GetAxis_2(id0);
22 if (temp == 0) return null;
23 return (vtkAxis)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
26 private native long GetDrawAreaItem_3();
27 public vtkAbstractContextItem GetDrawAreaItem() {
28 long temp = GetDrawAreaItem_3();
30 if (temp == 0) return null;
31 return (vtkAbstractContextItem)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
34 private native boolean Paint_4(vtkContext2D id0);
35 public boolean Paint(vtkContext2D id0)
36 { return Paint_4(id0); }
38 private native int GetDrawAreaResizeBehavior_5();
39 public int GetDrawAreaResizeBehavior()
40 { return GetDrawAreaResizeBehavior_5(); }
42 private native void SetDrawAreaResizeBehavior_6(int id0);
43 public void SetDrawAreaResizeBehavior(int id0)
44 { SetDrawAreaResizeBehavior_6(id0); }
46 private native double GetFixedAspect_7();
47 public double GetFixedAspect()
48 { return GetFixedAspect_7(); }
50 private native void SetFixedAspect_8(double id0);
51 public void SetFixedAspect(double id0)
52 { SetFixedAspect_8(id0); }
54 private native void SetFixedRect_9(int id0,int id1,int id2,int id3);
55 public void SetFixedRect(int id0,int id1,int id2,int id3)
56 { SetFixedRect_9(id0,id1,id2,id3); }
58 private native void GetFixedMarginsArray_10(int id0[]);
59 public void GetFixedMarginsArray(int id0[])
60 { GetFixedMarginsArray_10(id0); }
62 private native void SetFixedMargins_11(int id0[]);
63 public void SetFixedMargins(int id0[])
64 { SetFixedMargins_11(id0); }
66 private native void SetFixedMargins_12(int id0,int id1,int id2,int id3);
67 public void SetFixedMargins(int id0,int id1,int id2,int id3)
68 { SetFixedMargins_12(id0,id1,id2,id3); }
70 private native boolean GetFillViewport_13();
71 public boolean GetFillViewport()
72 { return GetFillViewport_13(); }
74 private native void SetFillViewport_14(boolean id0);
75 public void SetFillViewport(boolean id0)
76 { SetFillViewport_14(id0); }
78 private native void FillViewportOn_15();
79 public void FillViewportOn()
80 { FillViewportOn_15(); }
82 private native void FillViewportOff_16();
83 public void FillViewportOff()
84 { FillViewportOff_16(); }
86 private native void SetShowGrid_17(boolean id0);
87 public void SetShowGrid(boolean id0)
88 { SetShowGrid_17(id0); }
90 private native boolean GetShowGrid_18();
91 public boolean GetShowGrid()
92 { return GetShowGrid_18(); }
94 private native void ShowGridOn_19();
95 public void ShowGridOn()
98 private native void ShowGridOff_20();
99 public void ShowGridOff()
100 { ShowGridOff_20(); }
102 public vtkContextArea() { super(); }
104 public vtkContextArea(long id) { super(id); }
105 public native long VTKInit();