Documentation of 'org.jhotdraw.gui.Worker' Java class
Worker
org.jhotdraw.gui

Class Worker<T>

  • All Implemented Interfaces:
    java.lang.Runnable


    public abstract class Worker<T>
    extends java.lang.Object
    implements java.lang.Runnable
    This is an abstract class that you can subclass to perform GUI-related work in a dedicated event dispatcher.

    This class is similar to SwingWorker but less complex.

    • Constructor Summary

      Constructors 
      Constructor and Description
      Worker() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void run()
      Calls #construct on the current thread and invokes #done on the AWT event dispatcher thread.
      void start()
      Starts the Worker on an internal worker thread.
      • Methods inherited from class java.lang.Object

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

      • Worker

        public Worker()
    • Method Detail

      • run

        public final void run()
        Calls #construct on the current thread and invokes #done on the AWT event dispatcher thread.
        Specified by:
        run in interface java.lang.Runnable
      • start

        public void start()
        Starts the Worker on an internal worker thread.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.