Adjusting testing cases for current state of OCCT
[occt.git] / samples / java / java / CASCADESamplesJni / SelectMgr_SelectableObject.java
1 // Java Native Class from Cas.Cade
2 //                     Copyright (C) 1991,1999 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14 //
15
16
17 package CASCADESamplesJni;
18
19 import jcas.Object;
20 import jcas.Standard_Integer;
21 import CASCADESamplesJni.SelectMgr_Selection;
22 import jcas.Standard_Boolean;
23 import CASCADESamplesJni.Prs3d_Presentation;
24
25
26 public class SelectMgr_SelectableObject extends CASCADESamplesJni.PrsMgr_PresentableObject {
27
28  static {
29     System.loadLibrary("CASCADESamplesJni");
30  }
31             
32 native public  int NbPossibleSelection();
33 final public void UpdateSelection() {
34     SelectMgr_SelectableObject_UpdateSelection_1();
35 }
36
37 private final native void SelectMgr_SelectableObject_UpdateSelection_1();
38
39 final public void UpdateSelection(int aMode) {
40     SelectMgr_SelectableObject_UpdateSelection_2(aMode);
41 }
42
43 private final native void SelectMgr_SelectableObject_UpdateSelection_2(int aMode);
44
45 native public final void AddSelection(SelectMgr_Selection aSelection,int aMode);
46 native public final void ClearSelections();
47 native public final SelectMgr_Selection Selection(int aMode);
48 native public final boolean HasSelection(int aMode);
49 native public final void Init();
50 native public final boolean More();
51 native public final void Next();
52 native public final SelectMgr_Selection CurrentSelection();
53 native public final void ResetLocation();
54  public void UpdateLocation() {
55     SelectMgr_SelectableObject_UpdateLocation_1();
56 }
57
58 private  native void SelectMgr_SelectableObject_UpdateLocation_1();
59
60  public void UpdateLocation(Prs3d_Presentation P) {
61     SelectMgr_SelectableObject_UpdateLocation_2(P);
62 }
63
64 private  native void SelectMgr_SelectableObject_UpdateLocation_2(Prs3d_Presentation P);
65
66 public SelectMgr_SelectableObject() {
67 }
68
69
70
71
72 }