API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans.beancontext. BeanContextChild View Source
Author(s)
Laurence P. G. Cable
Since
1.2
Version
1.21, 11/17/05
Serial
Hierarchy
 BeanContextChild
Subinterfaces
Description
public interface BeanContextChild
  JavaBeans wishing to be nested within, and obtain a reference to their execution environment, or context, as defined by the BeanContext sub-interface shall implement this interface.
Methods
Hide/Show inherited methods
public void addPropertyChangeListener (String name, PropertyChangeListener pcl)
  Adds a PropertyChangeListener to this BeanContextChild in order to receive a PropertyChangeEvent whenever the specified property has changed.
public void addVetoableChangeListener (String name, VetoableChangeListener vcl)
  Adds a VetoableChangeListener to this BeanContextChild to receive events whenever the specified property changes.
public BeanContext getBeanContext ()
  Gets the BeanContext associated with this BeanContextChild.
public void removePropertyChangeListener (String name, PropertyChangeListener pcl)
  Removes a PropertyChangeListener from this BeanContextChild so that it no longer receives PropertyChangeEvents when the specified property is changed.
public void removeVetoableChangeListener (String name, VetoableChangeListener vcl)
  Removes a VetoableChangeListener from this BeanContextChild so that it no longer receives events when the specified property changes.
public void setBeanContext (BeanContext bc) throws PropertyVetoException
  Objects that implement this interface, shall fire a java.beans.PropertyChangeEvent, with parameters: propertyName "beanContext", oldValue (the previous nesting BeanContext instance, or null), newValue (the current nesting BeanContext instance, or null).
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar