Package com.openinventor.inventor
Class SoProgressIndicator.TaskEventArg
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.SoProgressIndicator.TaskEventArg
- All Implemented Interfaces:
SbEventArg
- Enclosing class:
SoProgressIndicator
Class given to callback when onBeginTask/onEndTask are raised.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
ConstructorsConstructorDescriptionTaskEventArg
(SoNode src, String eventName, int numTasks, int numTasksDone, int numSubTasks) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
void
setValue
(SoProgressIndicator.TaskEventArg copyFrom) Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
TaskEventArg
-
-
Method Details
-
getNumTasks
public int getNumTasks() -
setValue
-
getNumTasksDone
public int getNumTasksDone() -
getEventName
- Returns:
- name of the event.
-
getNumSubTasks
public int getNumSubTasks() -
getSource
- Specified by:
getSource
in interfaceSbEventArg
- Returns:
- source node that raised the event.
-