JIDE 3.5.15

com.jidesoft.treemap
Class AbstractTreeMapModel.Worker

java.lang.Object
  extended by com.jidesoft.treemap.AbstractTreeMapModel.Worker
All Implemented Interfaces:
TreeMapWorker, Callable<Void>
Enclosing class:
AbstractTreeMapModel<N extends MutableTreeMapNode>

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


Constructor Summary
AbstractTreeMapModel.Worker()
           
 
Method Summary
 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 Detail

AbstractTreeMapModel.Worker

public AbstractTreeMapModel.Worker()
Method Detail

call

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

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

cancel

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

Specified by:
cancel in interface TreeMapWorker

setProgress

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

JIDE 3.5.15