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.
  • Constructor Details

    • SubTaskEventArg

      public SubTaskEventArg(SoNode src, String eventName, int numSubTasks, int numSubTasksDone, int numSteps)
  • Method Details

    • getNumSubTasks

      public int getNumSubTasks()
    • setValue

      public void setValue(SoProgressIndicator.SubTaskEventArg copyFrom)
    • getNumSubTasksDone

      public int getNumSubTasksDone()
    • getEventName

      public String getEventName()

      Returns:
      name of the event.

    • getNumSteps

      public int getNumSteps()
    • getSource

      public SoNode getSource()

      Specified by:
      getSource in interface SbEventArg
      Returns:
      source node that raised the event.