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

PropertyProvider (NetBeans Ant Project API) - NetBeans API Javadoc 5.5.1

org.netbeans.modules.project.ant/1 1.12.31

org.netbeans.spi.project.support.ant
Interface PropertyProvider


public interface PropertyProvider

Provides a set of Ant property definitions that might be evaluated in some context.

This interface defines no independent thread safety, but in typical usage it will be used with the project manager mutex. Changes should be fired synchronously.


Method Summary
 void addChangeListener(ChangeListener l)
          Add a change listener.
 Map getProperties()
          Get all defined properties.
 void removeChangeListener(ChangeListener l)
          Remove a change listener.
 

Method Detail

getProperties

Map getProperties()
Get all defined properties. The values might contain Ant-style property references.

Returns:
all properties defined in this block

addChangeListener

void addChangeListener(ChangeListener l)
Add a change listener. When the set of available properties, or some of the values, change, this listener should be notified.

Parameters:
l - a listener to add

removeChangeListener

void removeChangeListener(ChangeListener l)
Remove a change listener.

Parameters:
l - a listener to remove

org.netbeans.modules.project.ant/1 1.12.31

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