Class NCallback
- java.lang.Object
-
- com.openinventor.inventor.misc.Callback
-
- com.openinventor.inventor.misc.callbacks.NCallback
-
- All Implemented Interfaces:
CB
- Direct Known Subclasses:
PoProbeCB
,PoRebuildCB
,SoCallbackActionCB
,SoDraggerCB
,SoEventCallbackCB
,SoGLRenderPassCB
,SoLineSegmentCB
,SoPointCB
,SoSelectionClassCB
,SoSelectionPathCB
,SoSelectionPickCB
,SoTriangleCB
,SoWWWInlineFetchURLCB
public class NCallback extends Callback
This class represents the java callbacks attached to native callbacks. When this native callback is called, it calls the methodCallback.invoke(Object)
. There is as much NCallback subclasses as callbacks defined in Inventor.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Explicitly call this method to dispose native resources of this object.java.lang.Long
getNativeResourceHandle()
Get the address of the native (C++) object represented by the current java object.
-
-
-
Method Detail
-
getNativeResourceHandle
public java.lang.Long getNativeResourceHandle()
Get the address of the native (C++) object represented by the current java object.- Returns:
- address of the native object
-
dispose
public void dispose()
Explicitly call this method to dispose native resources of this object. The object may not be reused in the application code after this call.
-
-