Class PathIcon.LoadImageTask

  • All Implemented Interfaces:
    java.lang.Runnable, java.util.concurrent.Future<java.awt.Image>, java.util.concurrent.RunnableFuture<java.awt.Image>
    Enclosing class:
    PathIcon

    protected class PathIcon.LoadImageTask
    extends javax.swing.SwingWorker<java.awt.Image,​java.lang.Void>
    • Nested Class Summary

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

        javax.swing.SwingWorker.StateValue
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long mySeq  
      protected java.lang.String path  
      protected int sH  
      protected int sW  
    • Constructor Summary

      Constructors 
      Constructor Description
      LoadImageTask​(java.lang.String path, int sW, int sH, long mySeq)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.awt.Image 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 Detail

      • mySeq

        protected long mySeq
      • path

        protected java.lang.String path
      • sW

        protected int sW
      • sH

        protected int sH
    • Constructor Detail

      • LoadImageTask

        public LoadImageTask​(java.lang.String path,
                             int sW,
                             int sH,
                             long mySeq)
    • Method Detail

      • doInBackground

        protected java.awt.Image doInBackground()
                                         throws java.lang.Exception
        Specified by:
        doInBackground in class javax.swing.SwingWorker<java.awt.Image,​java.lang.Void>
        Throws:
        java.lang.Exception
      • done

        protected void done()
        Overrides:
        done in class javax.swing.SwingWorker<java.awt.Image,​java.lang.Void>