1 // java wrapper for vtkSocketCollection object
7 public class vtkSocketCollection extends vtkCollection
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 void AddItem_2(vtkSocket id0);
19 public void AddItem(vtkSocket id0)
22 private native int SelectSockets_3(int id0);
23 public int SelectSockets(int id0)
24 { return SelectSockets_3(id0); }
26 private native long GetLastSelectedSocket_4();
27 public vtkSocket GetLastSelectedSocket() {
28 long temp = GetLastSelectedSocket_4();
30 if (temp == 0) return null;
31 return (vtkSocket)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
34 private native void ReplaceItem_5(int id0,vtkObject id1);
35 public void ReplaceItem(int id0,vtkObject id1)
36 { ReplaceItem_5(id0,id1); }
38 private native void RemoveItem_6(int id0);
39 public void RemoveItem(int id0)
40 { RemoveItem_6(id0); }
42 private native void RemoveItem_7(vtkObject id0);
43 public void RemoveItem(vtkObject id0)
44 { RemoveItem_7(id0); }
46 private native void RemoveAllItems_8();
47 public void RemoveAllItems()
48 { RemoveAllItems_8(); }
50 public vtkSocketCollection() { super(); }
52 public vtkSocketCollection(long id) { super(id); }
53 public native long VTKInit();