Class ProgressFactory


  • public class ProgressFactory
    extends java.lang.Object
    Factory for creating a progress indicator
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ProgressFactory.ProgressType
      Represents the types of progress indicators
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Progress get​(long total)
      Get a new instance
      static void set​(ProgressFactory.ProgressType type)
      Set the type of progress indicator the factory creates
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • get

        public static Progress get​(long total)
        Get a new instance
        Parameters:
        total - The number of tasks to be completed
        Returns:
        A new instance
      • set

        public static void set​(ProgressFactory.ProgressType type)
        Set the type of progress indicator the factory creates
        Parameters:
        type - Type of progress indicator