Class AsynchronousProgress

  • All Implemented Interfaces:
    net.sf.japi.swing.misc.Progress

    public class AsynchronousProgress
    extends java.lang.Object
    implements net.sf.japi.swing.misc.Progress
    Implements a Progress that forwards to another Progress instance but can be used from threads other than EDT.
    • Constructor Summary

      Constructors 
      Constructor Description
      AsynchronousProgress​(@NotNull net.sf.japi.swing.misc.Progress progress)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void finished()  
      java.awt.Component getParentComponent()  
      void setLabel​(java.lang.String msg, int max)  
      void setValue​(int value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AsynchronousProgress

        public AsynchronousProgress​(@NotNull
                                    @NotNull net.sf.japi.swing.misc.Progress progress)
        Creates a new instance.
        Parameters:
        progress - the Progress instance to forward to
    • Method Detail

      • finished

        public void finished()
        Specified by:
        finished in interface net.sf.japi.swing.misc.Progress
      • getParentComponent

        public java.awt.Component getParentComponent()
        Specified by:
        getParentComponent in interface net.sf.japi.swing.misc.Progress
      • setLabel

        public void setLabel​(java.lang.String msg,
                             int max)
        Specified by:
        setLabel in interface net.sf.japi.swing.misc.Progress
      • setValue

        public void setValue​(int value)
        Specified by:
        setValue in interface net.sf.japi.swing.misc.Progress