站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.5.0

Cancellable (NetBeans Utilities API) - NetBeans API Javadoc 5.5.0

org.openide.util 6.8.22

org.openide.util
Interface Cancellable

All Known Implementing Classes:
RequestProcessor.Task

public interface Cancellable

Service provider interface (SPI) for adding cancel support to various jobs. Note that cancel() method will be typically called concurrently to other methods of job or operation in question, so proper synchronization is needed.

Since:
3.36

Method Summary
 boolean cancel()
          Cancel processing of the job.
 

Method Detail

cancel

boolean cancel()
Cancel processing of the job. Called not more then once for specific job.

Returns:
true if the job was succesfully cancelled, false if job can't be cancelled for some reason

org.openide.util 6.8.22

Built on May 28 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.