Class GuiProgressMonitor

java.lang.Object
org.apache.uima.tools.jcasgen.GuiProgressMonitor
All Implemented Interfaces:
IProgressMonitor

public class GuiProgressMonitor extends Object implements IProgressMonitor
The Class GuiProgressMonitor.
  • Constructor Details

    • GuiProgressMonitor

      public GuiProgressMonitor()
  • Method Details

    • beginTask

      public void beginTask(String name, int totalWork)
      Description copied from interface: IProgressMonitor
      Begin task.
      Specified by:
      beginTask in interface IProgressMonitor
      Parameters:
      name - the name
      totalWork - the total worked
    • done

      public void done()
      Description copied from interface: IProgressMonitor
      Done.
      Specified by:
      done in interface IProgressMonitor
    • subTask

      public void subTask(String message)
      Description copied from interface: IProgressMonitor
      Sub task.
      Specified by:
      subTask in interface IProgressMonitor
      Parameters:
      message - the name
    • worked

      public void worked(int work)
      Description copied from interface: IProgressMonitor
      Worked.
      Specified by:
      worked in interface IProgressMonitor
      Parameters:
      work - the work
    • internalWorked

      public void internalWorked(double work)
      Internal worked.
      Parameters:
      work - the work
    • isCanceled

      public boolean isCanceled()
      Checks if is canceled.
      Returns:
      true, if is canceled
    • setCanceled

      public void setCanceled(boolean value)
      Sets the canceled.
      Parameters:
      value - the new canceled
    • setTaskName

      public void setTaskName(String name)
      Sets the task name.
      Parameters:
      name - the new task name