Class BinaryMapMakeProgress

java.lang.Object
pamViewFX.pamTask.PamTaskUpdate
binaryFileStorage.BinaryMapMakeProgress

public class BinaryMapMakeProgress extends PamTaskUpdate
  • Field Details Link icon

  • Constructor Details Link icon

    • BinaryMapMakeProgress Link icon

      public BinaryMapMakeProgress(int status, String streamName, int totalStreams, int currentStream)
  • Method Details Link icon

    • getStatus Link icon

      public int getStatus()
      Overrides:
      getStatus in class PamTaskUpdate
      Returns:
      the status
    • setStatus Link icon

      public void setStatus(int status)
      Description copied from class: PamTaskUpdate
      Set the status of the thread. This can either a generic status from the abstract class or a custom status.
      Overrides:
      setStatus in class PamTaskUpdate
      Parameters:
      status - the status to set
    • getStreamName Link icon

      public String getStreamName()
      Returns:
      the streamName
    • setStreamName Link icon

      public void setStreamName(String streamName)
      Parameters:
      streamName - the streamName to set
    • getTotalStreams Link icon

      public int getTotalStreams()
      Returns:
      the totalStreams
    • setTotalStreams Link icon

      public void setTotalStreams(int totalStreams)
      Parameters:
      totalStreams - the totalStreams to set
    • getCurrentStream Link icon

      public int getCurrentStream()
      Returns:
      the currentStream
    • setCurrentStream Link icon

      public void setCurrentStream(int currentStream)
      Parameters:
      currentStream - the currentStream to set
    • getProgress Link icon

      public double getProgress()
      Description copied from class: PamTaskUpdate
      Get the progress of the load thread. This is a value between 0 and 1 were 1 is equivalent to 100% or the thread having finished.

      Note that ProgressIndicator.INTERMEDIATE can be used as an update value to set progress to intermediate.

      Specified by:
      getProgress in class PamTaskUpdate
      Returns:
      the progress of the thread, between 0 and 1.
    • getName Link icon

      public String getName()
      Description copied from class: PamTaskUpdate
      Get the name of the load thread. Note the name is also the unique identifier for the running thread so cannot be the same between two different threads.
      Specified by:
      getName in class PamTaskUpdate
      Returns:
      the name of the thread.
    • getProgressString Link icon

      public String getProgressString()
      Description copied from class: PamTaskUpdate
      Returns a message indicating progress. Can be overriden to supply other messages.
      Overrides:
      getProgressString in class PamTaskUpdate
      Returns: