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