Class CreateMapInfo

java.lang.Object
pamViewFX.pamTask.PamTaskUpdate
generalDatabase.CreateMapInfo

public class CreateMapInfo extends PamTaskUpdate
simple class for passing information about data map making from swing worker to dialog.
  • Field Details Link icon

  • Constructor Details Link icon

    • CreateMapInfo Link icon

      public CreateMapInfo(int numBlocks, String databaseName)
    • CreateMapInfo Link icon

      public CreateMapInfo(int tableNum, PamDataBlock dataBlock, String tableName)
    • CreateMapInfo Link icon

      public CreateMapInfo(int status)
  • Method Details Link icon

    • getNumBlocks Link icon

      public int getNumBlocks()
      Returns:
      the numBlocks
    • getDatabaseName Link icon

      public String getDatabaseName()
      Returns:
      the databaseName
    • getTableNum Link icon

      public int getTableNum()
      Returns:
      the tableNum
    • getTableName Link icon

      public String getTableName()
      Returns:
      the tableName
    • getDataBlock Link icon

      public PamDataBlock getDataBlock()
      Returns:
      the dataBlock
    • 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.
    • 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.