List of usage examples for javafx.concurrent Worker cancel
public boolean cancel();
From source file:caillou.company.clonemanager.gui.service.task.impl.WorkerMonitor.java
public void stop(String category) { if (workerToMonitor.containsKey(category)) { for (Worker<?> worker : workerToMonitor.get(category)) { worker.cancel(); }//from w w w . j av a 2 s . co m } }