Package com.openinventor.inventor
Class SoProgressIndicator.SubTaskEventArg
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.SoProgressIndicator.SubTaskEventArg
-
- All Implemented Interfaces:
SbEventArg
- Enclosing class:
- SoProgressIndicator
public static class SoProgressIndicator.SubTaskEventArg extends Inventor implements SbEventArg
Class given to callback when onBeginSubTask/onEndSubTask 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
Constructors Constructor Description SubTaskEventArg(SoNode src, java.lang.String eventName, int numSubTasks, int numSubTasksDone, int numSteps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEventName()
int
getNumSteps()
int
getNumSubTasks()
int
getNumSubTasksDone()
SoNode
getSource()
void
setValue(SoProgressIndicator.SubTaskEventArg copyFrom)
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Constructor Detail
-
SubTaskEventArg
public SubTaskEventArg(SoNode src, java.lang.String eventName, int numSubTasks, int numSubTasksDone, int numSteps)
-
-
Method Detail
-
getNumSubTasks
public int getNumSubTasks()
-
setValue
public void setValue(SoProgressIndicator.SubTaskEventArg copyFrom)
-
getNumSubTasksDone
public int getNumSubTasksDone()
-
getEventName
public java.lang.String getEventName()
- Returns:
- name of the event.
-
getNumSteps
public int getNumSteps()
-
getSource
public SoNode getSource()
- Specified by:
getSource
in interfaceSbEventArg
- Returns:
- source node that raised the event.
-
-