Uses of Interface java.beans.VetoableChangeListener (Java Platform SE 8 )
Date: 2015-07-19

## Uses of Interface
java.beans.VetoableChangeListener

- Packages that use VetoableChangeListener
  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.

- - ### Uses of VetoableChangeListener in java.awt

    Methods in java.awt that return VetoableChangeListener
    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.

    Methods in java.awt with parameters of type VetoableChangeListener
    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.

  - ### Uses of VetoableChangeListener in java.beans

    Classes in java.beans that implement VetoableChangeListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `VetoableChangeListenerProxy` A class which extends the `EventListenerProxy` specifically for adding a `VetoableChangeListener` with a "constrained" property.

    Methods in java.beans that return VetoableChangeListener
    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.

    Methods in java.beans with parameters of type VetoableChangeListener
    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.

    Constructors in java.beans with parameters of type VetoableChangeListener
    Constructor and Description
    `VetoableChangeListenerProxy(String propertyName, VetoableChangeListener listener)` Constructor which binds the `VetoableChangeListener` to a specific property.

  - ### Uses of VetoableChangeListener in java.beans.beancontext

    Classes in java.beans.beancontext that implement VetoableChangeListener
    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.

    Methods in java.beans.beancontext that return VetoableChangeListener
    Modifier and Type | Method and Description
    --- | ---
    `protected static VetoableChangeListener` | BeanContextSupport.`getChildVetoableChangeListener(Object child)` Gets the VetoableChangeListener (if any) of the specified child

    Methods in java.beans.beancontext with parameters of type VetoableChangeListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | BeanContextChild.`addVetoableChangeListener(String name, VetoableChangeListener vcl)` Adds a `VetoableChangeListener` to this `BeanContextChild` to receive events whenever the specified property changes.
    `void` | BeanContextChildSupport.`addVetoableChangeListener(String name, VetoableChangeListener vcl)` Add a VetoableChangeListener for a specific property.
    `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.
    `void` | BeanContextChildSupport.`removeVetoableChangeListener(String name, VetoableChangeListener vcl)` Removes a `VetoableChangeListener`.

  - ### Uses of VetoableChangeListener in javax.swing

    Methods in javax.swing that return VetoableChangeListener
    Modifier and Type | Method and Description
    --- | ---
    `VetoableChangeListener[]` | JComponent.`getVetoableChangeListeners()` Returns an array of all the vetoable change listeners registered on this component.

    Methods in javax.swing with parameters of type VetoableChangeListener
    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.