Class 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 Detail

      • SubTaskEventArg

        public SubTaskEventArg​(SoNode src,
                               java.lang.String eventName,
                               int numSubTasks,
                               int numSubTasksDone,
                               int numSteps)
    • Method Detail

      • getNumSubTasks

        public int getNumSubTasks()
      • 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 interface SbEventArg
        Returns:
        source node that raised the event.