Class FileMapProgress

java.lang.Object
pamViewFX.pamTask.PamTaskUpdate
dataMap.filemaps.FileMapProgress

public class FileMapProgress extends PamTaskUpdate
  • Field Details Link icon

    • countingState Link icon

      public int countingState
    • totalFiles Link icon

      public int totalFiles
    • openedFiles Link icon

      public int openedFiles
    • fileName Link icon

      public String fileName
    • STATE_LOADINGMAP Link icon

      public static final int STATE_LOADINGMAP
      See Also:
    • STATE_SAVINGMAP Link icon

      public static final int STATE_SAVINGMAP
      See Also:
    • STATE_COUNTINGFILES Link icon

      public static final int STATE_COUNTINGFILES
      See Also:
    • STATE_DONECOUNTINGFILES Link icon

      public static final int STATE_DONECOUNTINGFILES
      See Also:
    • STATE_CHECKINGFILES Link icon

      public static final int STATE_CHECKINGFILES
      See Also:
    • STATE_MAPPINGFILES Link icon

      public static final int STATE_MAPPINGFILES
      See Also:
  • Constructor Details Link icon

    • FileMapProgress Link icon

      public FileMapProgress(int countingState, int totalFiles, int openedFiles, String fileName)
  • Method Details Link icon

    • 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:
    • 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.