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

FileBuiltQuery.Status (NetBeans General Queries API) - NetBeans API Javadoc 5.5.1

org.netbeans.modules.queries/1 1.7.31

org.netbeans.api.queries
Interface FileBuiltQuery.Status

Enclosing class:
FileBuiltQuery

public static interface FileBuiltQuery.Status

Result of getting built status for a file. Besides encoding the actual result, it permits listening to changes.

See Also:
FileBuiltQuery.getStatus(org.openide.filesystems.FileObject)

Method Summary
 void addChangeListener(ChangeListener l)
          Add a listener to changes.
 boolean isBuilt()
          Check whether the file is currently built.
 void removeChangeListener(ChangeListener l)
          Stop listening to changes.
 

Method Detail

isBuilt

boolean isBuilt()
Check whether the file is currently built.

Returns:
true if it is up-to-date, false if it may still need to be built

addChangeListener

void addChangeListener(ChangeListener l)
Add a listener to changes.

Parameters:
l - a listener to add

removeChangeListener

void removeChangeListener(ChangeListener l)
Stop listening to changes.

Parameters:
l - a listener to remove

org.netbeans.modules.queries/1 1.7.31

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