Class DocumentParser.HighLightTask

java.lang.Object
javax.swing.SwingWorker<java.lang.String,​java.lang.Object>
hipp.com.wappedidpadpro2.DocumentParser.HighLightTask
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<java.lang.String>, java.util.concurrent.RunnableFuture<java.lang.String>
Enclosing class:
DocumentParser

public class DocumentParser.HighLightTask
extends javax.swing.SwingWorker<java.lang.String,​java.lang.Object>
this class sets or removes higlights within the textDocument
  • Nested Class Summary

    Nested classes/interfaces inherited from class javax.swing.SwingWorker

    javax.swing.SwingWorker.StateValue
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private java.lang.String hTxt  
    private long startTime  
    private int what  
  • Constructor Summary

    Constructors 
    Constructor Description
    HighLightTask​(int _what)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String doInBackground()  
    protected void done()  

    Methods inherited from class javax.swing.SwingWorker

    addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • hTxt

      private java.lang.String hTxt
    • startTime

      private long startTime
    • what

      private int what
  • Constructor Details

  • Method Details

    • doInBackground

      public java.lang.String doInBackground()
      Specified by:
      doInBackground in class javax.swing.SwingWorker<java.lang.String,​java.lang.Object>
    • done

      protected void done()
      Overrides:
      done in class javax.swing.SwingWorker<java.lang.String,​java.lang.Object>