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
This class represents the java callbacks attached to native callbacks. When
this native callback is called, it calls the method
Callback.invoke(Object)
.
There is as much NCallback subclasses as callbacks defined in Inventor.-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Explicitly call this method to dispose native resources of this object.Get the address of the native (C++) object represented by the current java object.
-
Method Details
-
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.
-