Adjusting testing cases for current state of OCCT
[occt.git] / samples / java / java / CASCADESamplesJni / SelectMgr_SelectableObject.java
CommitLineData
7fd59977 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
17package CASCADESamplesJni;
18
19import jcas.Object;
20import jcas.Standard_Integer;
21import CASCADESamplesJni.SelectMgr_Selection;
22import jcas.Standard_Boolean;
23import CASCADESamplesJni.Prs3d_Presentation;
24
25
26public class SelectMgr_SelectableObject extends CASCADESamplesJni.PrsMgr_PresentableObject {
27
28 static {
29 System.loadLibrary("CASCADESamplesJni");
30 }
31
32native public int NbPossibleSelection();
33final public void UpdateSelection() {
34 SelectMgr_SelectableObject_UpdateSelection_1();
35}
36
37private final native void SelectMgr_SelectableObject_UpdateSelection_1();
38
39final public void UpdateSelection(int aMode) {
40 SelectMgr_SelectableObject_UpdateSelection_2(aMode);
41}
42
43private final native void SelectMgr_SelectableObject_UpdateSelection_2(int aMode);
44
45native public final void AddSelection(SelectMgr_Selection aSelection,int aMode);
46native public final void ClearSelections();
47native public final SelectMgr_Selection Selection(int aMode);
48native public final boolean HasSelection(int aMode);
49native public final void Init();
50native public final boolean More();
51native public final void Next();
52native public final SelectMgr_Selection CurrentSelection();
53native public final void ResetLocation();
54 public void UpdateLocation() {
55 SelectMgr_SelectableObject_UpdateLocation_1();
56}
57
58private native void SelectMgr_SelectableObject_UpdateLocation_1();
59
60 public void UpdateLocation(Prs3d_Presentation P) {
61 SelectMgr_SelectableObject_UpdateLocation_2(P);
62}
63
64private native void SelectMgr_SelectableObject_UpdateLocation_2(Prs3d_Presentation P);
65
66public SelectMgr_SelectableObject() {
67}
68
69
70
71
72}