Module video

Class Progress

java.lang.Object
de.grogra.video.util.Progress

public class Progress extends Object
A Progress defines a "progress", it's really that simple. Each progress has a name and a value. Name and value of a progress can't be edited after creation.
Author:
Dominick Leppich
  • Constructor Details

    • Progress

      public Progress(double value, String name)
      Create a new Progress object with a value and a name.
      Parameters:
      value - - Value of the progress (should be between 0.0 and 1.0)
      name - - Name of the progress (a description)
  • Method Details

    • getValue

      public double getValue()
      Get the value of the progress.
      Returns:
      Value
    • getName

      public String getName()
      Get the name of the progress.
      Returns:
      Name