public interface Controller
AttachType.getController()
) and
BreakpointType.getController()
).Modifier and Type | Field and Description |
---|---|
static String |
PROP_VALID
Property name constant for valid property.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final String PROP_VALID
boolean ok()
boolean cancel()
boolean isValid()
true
whether value of this customizer
is valid (and OK button can be enabled).
When this interface is implemented by a class that extends
JComponent
, this method clashes with
Component.isValid()
method. In this case please implement
this by a different class and override AttachType.getController()
,
resp. BreakpointType.getController()
.
true
whether value of this customizer
is validvoid addPropertyChangeListener(PropertyChangeListener l)
l
- the listener to addvoid removePropertyChangeListener(PropertyChangeListener l)
l
- the listener to remove