Package com.treemap

# Class AbstractTreeMapModel.Worker

java.lang.Object
com.treemap.AbstractTreeMapModel.Worker

All Implemented Interfaces:
  `TreeMapWorker`, `Callable<Void>`

Enclosing class:
  `AbstractTreeMapModel<N extends MutableTreeMapNode<N,Column,Color,Font>,Row,Column,Color,Font>`

public class AbstractTreeMapModel.Worker extends Object implements Callable<Void>, TreeMapWorker

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Worker()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Void`
  `call()`
  `void`
  `cancel()`
  Cancel the work being done.
  `boolean`
  `isCancelled()`
  Indicates whether the work has been cancelled.
  `void`
  `setProgress(int progress)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Worker

    public Worker()

- ## Method Details

  - ### call

    public Void call() throws Exception
    Specified by:
      `call` in interface `Callable<Void>`
    Throws:
      `Exception`

  - ### cancel

    public void cancel()
    Description copied from interface: `TreeMapWorker`
    Cancel the work being done.
    Specified by:
      `cancel` in interface `TreeMapWorker`

  - ### isCancelled

    public boolean isCancelled()
    Description copied from interface: `TreeMapWorker`
    Indicates whether the work has been cancelled.
    Specified by:
      `isCancelled` in interface `TreeMapWorker`
    Returns:
      true if cancelled, false otherwise

  - ### setProgress

    public void setProgress(int progress)
    Specified by:
      `setProgress` in interface `TreeMapWorker`