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

Controller (NetBeans Debugger Core UI API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.spi.debugger.ui
Interface Controller


public interface Controller

Support for validation of various customizers. This interface can be optionally implemented by some customizers like Attach Panel (see AttachType.getCustomizer()) and breakpoint customizer (see BreakpointType.getCustomizer()).


Field Summary
static String PROP_VALID
          Property name constant for valid property.
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
          Add a listener to property changes.
 boolean cancel()
          Called when "Cancel" button is pressed.
 boolean isValid()
          Return true whether value of this customizer is valid (and OK button can be enabled).
 boolean ok()
          Called when "Ok" button is pressed.
 void removePropertyChangeListener(PropertyChangeListener l)
          Remove a listener to property changes.
 

Field Detail

PROP_VALID

public static final String PROP_VALID
Property name constant for valid property.

See Also:
Constant Field Values
Method Detail

ok

public boolean ok()
Called when "Ok" button is pressed.

Returns:
whether customizer can be closed

cancel

public boolean cancel()
Called when "Cancel" button is pressed.

Returns:
whether customizer can be closed

isValid

public boolean isValid()
Return true whether value of this customizer is valid (and OK button can be enabled).

Returns:
true whether value of this customizer is valid

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)
Add a listener to property changes.

Parameters:
l - the listener to add

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)
Remove a listener to property changes.

Parameters:
l - the listener to remove

 

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