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
public static class SoProgressIndicator.TaskEventArg extends Inventor implements SbEventArg
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
Constructors Constructor Description TaskEventArg(SoNode src, java.lang.String eventName, int numTasks, int numTasksDone, int numSubTasks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEventName()
int
getNumSubTasks()
int
getNumTasks()
int
getNumTasksDone()
SoNode
getSource()
void
setValue(SoProgressIndicator.TaskEventArg copyFrom)
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Constructor Detail
-
TaskEventArg
public TaskEventArg(SoNode src, java.lang.String eventName, int numTasks, int numTasksDone, int numSubTasks)
-
-
Method Detail
-
getNumTasks
public int getNumTasks()
-
setValue
public void setValue(SoProgressIndicator.TaskEventArg copyFrom)
-
getNumTasksDone
public int getNumTasksDone()
-
getEventName
public java.lang.String getEventName()
- Returns:
- name of the event.
-
getNumSubTasks
public int getNumSubTasks()
-
getSource
public SoNode getSource()
- Specified by:
getSource
in interfaceSbEventArg
- Returns:
- source node that raised the event.
-
-