Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.beans |
Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture.
|
java.beans.beancontext |
Provides classes and interfaces relating to bean context.
|
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
Modifier and Type | Method and Description |
---|---|
VetoableChangeListener[] |
KeyboardFocusManager.getVetoableChangeListeners()
Returns an array of all the vetoable change listeners
registered on this keyboard focus manager.
|
VetoableChangeListener[] |
KeyboardFocusManager.getVetoableChangeListeners(String propertyName)
Returns an array of all the
VetoableChangeListener s
associated with the named property. |
Modifier and Type | Method and Description |
---|---|
void |
KeyboardFocusManager.addVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Adds a VetoableChangeListener to the listener list for a specific
property.
|
void |
KeyboardFocusManager.addVetoableChangeListener(VetoableChangeListener listener)
Adds a VetoableChangeListener to the listener list.
|
void |
KeyboardFocusManager.removeVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Removes a VetoableChangeListener from the listener list for a specific
property.
|
void |
KeyboardFocusManager.removeVetoableChangeListener(VetoableChangeListener listener)
Removes a VetoableChangeListener from the listener list.
|
Modifier and Type | Class and Description |
---|---|
class |
VetoableChangeListenerProxy
A class which extends the
EventListenerProxy
specifically for adding a VetoableChangeListener
with a "constrained" property. |
Modifier and Type | Method and Description |
---|---|
VetoableChangeListener[] |
VetoableChangeSupport.getVetoableChangeListeners()
Returns an array of all the listeners that were added to the
VetoableChangeSupport object with addVetoableChangeListener().
|
VetoableChangeListener[] |
VetoableChangeSupport.getVetoableChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated
with the named property.
|
Modifier and Type | Method and Description |
---|---|
void |
VetoableChangeSupport.addVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Add a VetoableChangeListener for a specific property.
|
void |
VetoableChangeSupport.addVetoableChangeListener(VetoableChangeListener listener)
Add a VetoableChangeListener to the listener list.
|
void |
VetoableChangeSupport.removeVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Remove a VetoableChangeListener for a specific property.
|
void |
VetoableChangeSupport.removeVetoableChangeListener(VetoableChangeListener listener)
Remove a VetoableChangeListener from the listener list.
|
Constructor and Description |
---|
VetoableChangeListenerProxy(String propertyName,
VetoableChangeListener listener)
Constructor which binds the
VetoableChangeListener
to a specific property. |
Modifier and Type | Class and Description |
---|---|
class |
BeanContextServicesSupport
This helper class provides a utility implementation of the
java.beans.beancontext.BeanContextServices interface.
|
class |
BeanContextSupport
This helper class provides a utility implementation of the
java.beans.beancontext.BeanContext interface.
|
Modifier and Type | Method and Description |
---|---|
protected static VetoableChangeListener |
BeanContextSupport.getChildVetoableChangeListener(Object child)
Gets the VetoableChangeListener
(if any) of the specified child
|
Modifier and Type | Method and Description |
---|---|
void |
BeanContextChildSupport.addVetoableChangeListener(String name,
VetoableChangeListener vcl)
Add a VetoableChangeListener for a specific property.
|
void |
BeanContextChild.addVetoableChangeListener(String name,
VetoableChangeListener vcl)
Adds a
VetoableChangeListener to
this BeanContextChild
to receive events whenever the specified property changes. |
void |
BeanContextChildSupport.removeVetoableChangeListener(String name,
VetoableChangeListener vcl)
Removes a
VetoableChangeListener . |
void |
BeanContextChild.removeVetoableChangeListener(String name,
VetoableChangeListener vcl)
Removes a
VetoableChangeListener from this
BeanContextChild so that it no longer receives
events when the specified property changes. |
Modifier and Type | Method and Description |
---|---|
VetoableChangeListener[] |
JComponent.getVetoableChangeListeners()
Returns an array of all the vetoable change listeners
registered on this component.
|
Modifier and Type | Method and Description |
---|---|
void |
JComponent.addVetoableChangeListener(VetoableChangeListener listener)
Adds a
VetoableChangeListener to the listener list. |
void |
JComponent.removeVetoableChangeListener(VetoableChangeListener listener)
Removes a
VetoableChangeListener from the listener list. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.