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

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

org.netbeans.spi.debugger.ui/1 2.8.33

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

static final String PROP_VALID
Property name constant for valid property.

See Also:
Constant Field Values
Method Detail

ok

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

Returns:
whether customizer can be closed

cancel

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

Returns:
whether customizer can be closed

isValid

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

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

Parameters:
l - the listener to add

removePropertyChangeListener

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

Parameters:
l - the listener to remove

org.netbeans.spi.debugger.ui/1 2.8.33

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