Generated by
JDiff

java.beans.beancontext Documentation Differences

This file contains all the changes in documentation in the package java.beans.beancontext as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class BeanContext

The BeanContext acts a logical heirarchicalhierarchical container for JavaBeans.

@author Laurence P. G. Cable @version 1.919 02/02/00 @since JDK11.2 @seealso java.beans.Beans @seealso java.beans.beancontext.BeanContextChild @seealso java.beans.beancontext.BeanContextListenerBeanContextMembershipListener @seealso java.beans.PropertyChangeEvent @seealso java.beans.VetoableChangeEvent @seealso java.beans.DesignMode @seealso java.beans.Visibility @seealso java.util.Collection
Class BeanContext, void addBeanContextMembershipListener(BeanContextMembershipListener)

addAdds the specified BeanContextMembershipListener to receive BeanContextMembershipEvents from this BeanContext whenever it adds or removes a child Component(s). @param bcml the BeanContextMembershipListener to be added
Class BeanContext, URL getResource(String, BeanContextChild)

Analagous to java.lang.ClassLoader.getResource() this method allows a BeanContext implementation to interpose behavior between the child Component and underlying ClassLoader. @param name the resource name @param bcc the specified child @return a URL for the named resource for the specified child @throwthrows IllegalArgumentException if the resource is not valid
Class BeanContext, InputStream getResourceAsStream(String, BeanContextChild)

@returnAnalagous anto InputStreamjava.lang.ClassLoader.getResourceAsStream() this method allows a BeanContext implementation to interpose behavior between the namedchild Component and underlying ClassLoader. @param name the resource forname @param bcc the specified child @throwreturn an InputStream for reading the resource or null if the resource could not be found. @throws IllegalArgumentException if the resource is not valid
Class BeanContext, Object instantiateChild(String)

Instantiate the javaBean named as a child of this BeanContext. The implementation of the JavaBean is derived from the value of the beanName parameter and is defined by the java.beans.Beans.instantiate() method. @param beanName The name of the JavaBean to instantiate as a child of this BeanContext @throws IOException @throws ClassNotFoundException if the class identified by the beanName parameter is not found
Class BeanContext, void removeBeanContextMembershipListener(BeanContextMembershipListener)

remove aRemoves the specified BeanContextMembershipListener so that it no longer receives BeanContextMembershipEvents when the child Component(s) are added or removed. @param bcml the BeanContextMembershipListener to be removed
Class BeanContext, Object globalHierarchyLock

thisThis global lock is used by both BeanContext and BeanContextServices implementors to serialize changes in a BeanContext hierarchy and any service requests etc.

Class 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.

Conformant BeanContexts shall as a side effect of adding a BeanContextChild object shall pass a reference to itself via the setBeanContext() method of this interface.

Note that a BeanContextChild may refuse a change in state by throwing PropertyVetoedException in response.

In order for persistence mechanisms to function properly on BeanContextChild instances across a broad variety of scenarios implementing classes of this interface are required to define as transient any or all fields or instance variables that may contain or represent references to the nesting BeanContext instance or other resources obtained from the BeanContext via any unspecified mechanisms.

@author Laurence P. G. Cable @version 1.1116 02/02/00 @since JDK11.2 @seealso java.beans.beancontext.BeanContext @seealso java.beans.PropertyChangeEvent @seealso java.beans.PropertyChangeListener @seealso java.beans.PropertyVetoEvent @seealso java.beans.PropertyVetoListener @seealso java.beans.PropertyVetoException
Class BeanContextChild, void addPropertyChangeListener(String, PropertyChangeListener)

addAdds a PropertyChangeListener to this BeanContextChild in order to receive a PropertyChangeEvent whenever the specified property changehas changed. @param name the listenername of the property to thislisten on @param pcl beanthe childPropertyChangeListener to add
Class BeanContextChild, void addVetoableChangeListener(String, VetoableChangeListener)

addAdds a vetoableVetoableChangeListener to changethis listenerBeanContextChild to thisreceive events whenever the specified property changes. @param name the name childof the property to listen on @param vcl the VetoableChangeListener to add
Class BeanContextChild, BeanContext getBeanContext()

@returnsGets the current BeanContext associated with this BeanContextChild. @return the JavaBeanBeanContext associated with this BeanContextChild.
Class BeanContextChild, void removePropertyChangeListener(String, PropertyChangeListener)

removeRemoves a PropertyChangeListener from this BeanContextChild so that it no longer receives PropertyChangeEvents when the specified property changeis listenerchanged. to@param thisname the name of the property that was beanlistened childon @param pcl the PropertyChangeListener to remove
Class BeanContextChild, void removeVetoableChangeListener(String, VetoableChangeListener)

removeRemoves a vetoableVetoableChangeListener change listenerfrom this toBeanContextChild thisso that it no longer receives events when the specified property changes. @param name childthe name of the property that was listened on. @param vcl the VetoableChangeListener to remove.
Class BeanContextChild, void setBeanContext(BeanContext)

Objects that implement this interface shall fire a java.beans.PropertyChangeEvent with parameters: @param propertyName "beanContext" @param oldValue (the previous nesting BeanContext instance or null) @param newValue (the current nesting BeanContext instance or null ).

A change in the value of the nesting BeanContext property of this BeanContextChild may be vetoed by throwing the appropriate exception.

@param bc The BeanContext with which to associate this BeanContextChild. @throws PropertyVetoException if the addition of the specified BeanContext is refused.

Class BeanContextChildComponentProxy

This interface is implemented by BeanContextChildren that have an AWT Component associated with them.

@author Laurence P. G. Cable @version 1.16 02/02/00 @since JDK11.2 @seealso java.beans.beancontext.BeanContext @seealso java.beans.beancontext.BeanContextSupport
Class BeanContextChildComponentProxy, Component getComponent()

Gets the java.awt.Component associated with this BeanContextChild. @return the AWT Component associated with this BeanContextChild

Class BeanContextChildSupport

This is a general support class to provide support for implementing the BeanContextChild protocol. This class may either be directly subclassed or encapsulated and delegated to in order to implement this interface for a given component.

@author Laurence P. G. Cable @version 1.410 02/02/00 @since JDK11.2 @seealso java.beans.beancontext.BeanContext @seealso java.beans.beancontext.BeanContextServices @seealso java.beans.beancontext.BeanContextChild
Class BeanContextChildSupport, void addPropertyChangeListener(String, PropertyChangeListener)

addAdds a property change listener. @param name The name of the property to listen on @param pcl The PropertyChangeListener to be added
Class BeanContextChildSupport, void addVetoableChangeListener(String, VetoableChangeListener)

addAdds a vetoableVetoableChangeListener. change@param listenername The name of the property to listen on @param vcl The VetoableChangeListener to be added
Class BeanContextChildSupport, void firePropertyChange(String, Object, Object)

firesReport a propertyChangebound Eventproperty update to any registered listeners. No event is fired if old and new are equal and non-null. @param name The programmatic name of the property that was changed @param oldValue The old value of the property @param newValue The new value of the property
Class BeanContextChildSupport, void fireVetoableChange(String, Object, Object)

firesReport a vetoableChangevetoable Eventproperty update to any registered listeners. If anyone vetos the change then fire a new event reverting everyone to the old value and then rethrow the PropertyVetoException.

No event is fired if old and new are equal and non-null.

@param name The programmatic name of the property that is about to change @param oldValue The old value of the property @param newValue - The new value of the property @throws PropertyVetoException if the recipient wishes the property change to be rolled back.

Class BeanContextChildSupport, BeanContext getBeanContext()

@returnsGets the currentnesting BeanContext for this associatedBeanContextChildSupport. with@return the JavaBeannesting BeanContext for this BeanContextChildSupport.
Class BeanContextChildSupport, BeanContextChild getBeanContextChildPeer()

Gets the BeanContextChild associated with this BeanContextChildSupport. @return the BeanContextChild peer of this class
Class BeanContextChildSupport, boolean isDelegated()

Reports whether or not this class is a delegate of another. @return true if this class is a delegate of another
Class BeanContextChildSupport, void removePropertyChangeListener(String, PropertyChangeListener)

removeRemove a property change listener. @param name The name of the property that was listened on @param pcl The PropertyChangeListener to be removed
Class BeanContextChildSupport, void removeVetoableChangeListener(String, VetoableChangeListener)

removeRemoves a vetoableVetoableChangeListener. change@param listenername The name of the property that was listened on @param vcl The VetoableChangeListener to be removed
Class BeanContextChildSupport, void serviceAvailable(BeanContextServiceAvailableEvent)

aA new service is available from the nesting BeanContext. subclassesSubclasses may override this method in order to implement their own behaviors @param bcsae The BeanContextServiceAvailableEvent fired as a result of a service becoming available
Class BeanContextChildSupport, void serviceRevoked(BeanContextServiceRevokedEvent)

aA service provided by the nesting BeanContext has been revoked. subclassesSubclasses may override this method in order to implement their own behaviors. @param bcsre The BeanContextServiceRevokedEvent fired as a result of a service being revoked
Class BeanContextChildSupport, void setBeanContext(BeanContext)

setBeanContextSets the BeanContext for this BeanContextChildSupport. @param bc the new value to be assigned to the BeanContext property @throws PropertyVetoException if the change is rejected
Class BeanContextChildSupport, boolean validatePendingSetBeanContext(BeanContext)

calledCalled from setBeanContext to validate (or otherwise) the pending change in the nesting BeanContext property value. returningReturning false will cause setBeanContext to throw PropertyVetoException. @param newValue the new value that has been requested for the BeanContext property @return true if the change operation is to be vetoed

Class BeanContextContainerProxy

This interface is implemented by BeanContexts' that have an AWT Container associated with them.

@author Laurence P. G. Cable @version 1.16 02/02/00 @since JDK11.2 @seealso java.beans.beancontext.BeanContext @seealso java.beans.beancontext.BeanContextSupport
Class BeanContextContainerProxy, Container getContainer()

Gets the java.awt.Container associated with this BeanContext. @return the AWT java.awt.Container associated with this BeanContext.

Class BeanContextEvent

BeanContextEvent is the abstract root event class for all events emitted from and pertaining to the semantics of a BeanContext. This class introduces a mechanism to allow the propagation of BeanContextEvent subclasses through a heirarchy of BeanContexts. The setPropagatedFrom() and getPropagatedFrom() methods allow a BeanContext to identify itself as the source of a propagated event.

@author Laurence P. G. Cable @version 1.29 02/02/00 @since JDK11.2 @see java.beans.beancontext.BeanContext
Class BeanContextEvent, BeanContext getPropagatedFrom()

Gets the BeanContext from which this event was propagated. @param bc The BeanContext that last propagated this BeanContextEvent @return the BeanContext from which this event was propagated
Class BeanContextEvent, boolean isPropagated()

@returnReports whether or not this event is thepropagated from some BeanContextEventother BeanContext. @return true if propagated false if not
Class BeanContextEvent, void setPropagatedFrom(BeanContext)

Sets the BeanContext from which this event was propagated. @param bc Set the BeanContext that last propagatedfrom which this BeanContextEventevent was propagated

Class BeanContextMembershipEvent

A CompliantBeanContextMembershipEvent BeanContexts fire events on this interface when state maintained byencapsulates the list of children added to or removed from the membership of a particular BeanContext. An instance of this event for someis fired whenever a successful add() remove() retainAll() removeAll() or allclear() is invoked on a given BeanContext instance. Objects interested in receiving events of itsthis "children"type changesmust toimplement the BeanContextMembershipListener all BeanContextListeners thatinterface and must register themselvestheir with a particularintent via the BeanContext.'s addBeanContextMembershipListener(BeanContextMembershipListener bcml) method. @author Laurence P. G. Cable @version 1.611 @since 1.2 @see java.beans.beancontext.BeanContext @see java.beans.beancontext.BeanContextEvent @see java.beans.beancontext.BeanContextListenerBeanContextMembershipListener
Class BeanContextMembershipEvent, constructor BeanContextMembershipEvent(BeanContext, Collection)

Contruct a BeanContextMembershipEvent @param bc The BeanContext source @param changes The Children effectedaffected
Class BeanContextMembershipEvent, constructor BeanContextMembershipEvent(BeanContext, Object[])

Contruct a BeanContextMembershipEvent @param bc The BeanContext source @param changes The Children effected @exception NullPointerException if changes associated with this event are null.
Class BeanContextMembershipEvent, boolean contains(Object)

@return isIs the child specified effectedaffected by the event @return true if affected false if not
Class BeanContextMembershipEvent, Iterator iterator()

Gets the array of children affected by this event. @return the array of children effected
Class BeanContextMembershipEvent, int size()

howGets manythe number of children areaffected by the notification. @return the number of children effectedaffected by the notification
Class BeanContextMembershipEvent, Object[] toArray()

Gets the array of children affected by this event. @return the array of children effectedaffected

Class BeanContextMembershipListener

Compliant BeanContexts fire events on this interface when the state of the membership of the BeanContext changes.

@author Laurence P. G. Cable @version 1.49 02/02/00 @since JDK11.2 @see java.beans.beancontext.BeanContext
Class BeanContextMembershipListener, void childrenAdded(BeanContextMembershipEvent)

Called when a child or list of children is added to a BeanContext that this listener is registered with. @param bcme The BeanContextMembershipEvent describing the change that occurred.
Class BeanContextMembershipListener, void childrenRemoved(BeanContextMembershipEvent)

Called when a child or list of children is removed from a BeanContext that this listener is registered with. @param bcme The BeanContextMembershipEvent describing the change that occurred.

Class BeanContextProxy

This interface is implemented by a JavaBean that does not directly have a BeanContext(Child) associated with it (via implementing that interface or a subinterface thereof) but has a public BeanContext(Child) delegated from it. For example a subclass of java.awt.Container may have a BeanContext associated with it that all Component children of that Container shall be contained within.

An Object may not implement this interface and the BeanContextChild interface (or any subinterfaces thereof) they are mutually exclusive.

Callers of this interface shall examine the return type in order to obtain a particular subinterface of BeanContextChild as follows: BeanContextChild bcc = o.getBeanContextProxy(); if (bcc instanceof BeanContext) { // ... } or BeanContextChild bcc = o.getBeanContextProxy(); BeanContext bc = null; try { bc = (BeanContext)bcc; } catch (ClassCastException cce) { // cast failed bcc is not an instanceof BeanContext }

The return value is a constant for the lifetime of the implementing instance

@author Laurence P. G. Cable @version 1.17 02/02/00 @since JDK11.2 @seealso java.beans.beancontext.BeanContextChild @seealso java.beans.beancontext.BeanContextChildSupport
Class BeanContextProxy, BeanContextChild getBeanContextProxy()

Gets the BeanContextChild (or subinterface) associated with this object. @return the BeanContextChild (or subinterface) associated with this Objectobject

Class BeanContextServiceAvailableEvent, constructor BeanContextServiceAvailableEvent(BeanContextServices, Class)

constructConstruct a BeanContextServiceEventBeanContextAvailableServiceEvent. @param bcs The context in which the service has become available @param sc A Class reference to the newly available service
Class BeanContextServiceAvailableEvent, Iterator getCurrentServiceSelectors()

Gets the list of service dependent selectors. @return the current selectors available from the service
Class BeanContextServiceAvailableEvent, Class getServiceClass()

getGets the service class that is the subject of this notification. @return A Class reference to the newly available service
Class BeanContextServiceAvailableEvent, BeanContextServices getSourceAsBeanContextServices()

getGets the source as a reference of type BeanContextServices. @return The context in which the service has become available

Class BeanContextServiceProvider, Iterator getCurrentServiceSelectors(BeanContextServices, Class)

Invoked by BeanContextServices this method gets the current service selectors for the specified service. A service selector is a service specific parameter typical examples of which could include: a parameter to a constructor for the service implementation class a value for a particular service's property or a key into a map of existing implementations. @param bcs the BeanContextServices for this request @param service the specified service @return the current service selectors for the specified serviceClass
Class BeanContextServiceProvider, Object getService(BeanContextServices, Object, Class, Object)

requestInvoked by BeanContextServices this method requests an instance of a service from this BeanContextServiceProvider. @param bcs The BeanContextServices associated with this particular request. This parameter enables the BeanContextServiceProvider to distinguish service requests from multiple sources. @param requestor The object requesting the service @param serviceClass The service requested @param serviceSelector Additionalthe service parameterisationdependent ofparameter for a particular service or null if not applicable. @return a reference to the requested service
Class BeanContextServiceProvider, void releaseService(BeanContextServices, Object, Object)

Invoked by BeanContextServices this method releases a nested BeanContextChild's (or any arbitrary object associated with a BeanContextChild) reference to the specified service. @param bcs the BeanContextServices associated with this particular release request @param requestor the object requesting the service to be released @param service the service that is to be released

Class BeanContextServiceProviderBeanInfo, BeanInfo[] getServicesBeanInfo()

@return an arrayGets ofa BeanInfo array one for each service class or interface statically available from this ServiceProvider class. @return the BeanInfo array

Class BeanContextServiceRevokedEvent

This event type is used by the BeanContextServicesListenerBeanContextServiceRevokedListener in order to identify the service being revoked.

Class BeanContextServiceRevokedEvent, constructor BeanContextServiceRevokedEvent(BeanContextServices, Class, boolean)

constructConstruct a BeanContextServiceEvent. @param bcs the BeanContextServices from which this service is being revoked @param sc the service that is being revoked @param invalidate true for immediate revocation
Class BeanContextServiceRevokedEvent, Class getServiceClass()

getGets the service class that is the subject of this notification @return A Class reference to the service that is being revoked
Class BeanContextServiceRevokedEvent, BeanContextServices getSourceAsBeanContextServices()

getGets the source as a reference of type BeanContextServices @return the BeanContextServices from which this service is being revoked
Class BeanContextServiceRevokedEvent, boolean isCurrentServiceInvalidNow()

trueReports if the current service is being forcibly revoked in which case the references are now invalidated and unusable. @return true if current service is being forcibly revoked
Class BeanContextServiceRevokedEvent, boolean isServiceClass(Class)

testChecks this event to determine whether or not the service being revoked is of a particular class. @param service the service of interest @return true if the service equalitybeing revoked is of the same class as the specified service
Class BeanContextServiceRevokedEvent, Class serviceClass

fieldsA Class reference to the service that is being revoked.

Class BeanContextServiceRevokedListener, void serviceRevoked(BeanContextServiceRevokedEvent)

The service named has been revoked. getService requests for this service will no longer be satisifed. @param bcsre the BeanContextServiceRevokedEvent received by this listener.

Class BeanContextServices, void addBeanContextServicesListener(BeanContextServicesListener)

addAdds a BeanContextServicesListener to this BeanContext @param bcsl the BeanContextServicesListener to add
Class BeanContextServices, boolean addService(Class, BeanContextServiceProvider)

addAdds a service to this BeanContext. BeanContextServiceProviders call this method to register a particular service with this context. If the service has not previously been added the BeanContextServices associates the service with the BeanContextServiceProvider and fires a BeanContextServiceAvailableEvent to all currently registered BeanContextServicesListeners. The method then returns true indicating that the addition of the service was successful. If the given service has already been added this method simply returns false. @param serviceClass the service to add @param serviceProvider the BeanContextServiceProvider associated with the service
Class BeanContextServices, Iterator getCurrentServiceClasses()

Gets the currently available services for this context. @return an Iterator consisting of the currently available services
Class BeanContextServices, Iterator getCurrentServiceSelectors(Class)

Gets the list of service dependent service parameters (Service Selectors) for the specified service by calling getCurrentServiceSelectors() on the underlying BeanContextServiceProvider. @param serviceClass the specified service @return the currently available service selectors for the named serviceClass
Class BeanContextServices, Object getService(BeanContextChild, Object, Class, Object, BeanContextServiceRevokedListener)

A BeanContextChild or any arbitrary object associated with a BeanContextChild may obtain a reference to a currently registered service from its nesting BeanContextServices via invocation of this method. When invoked this method gets the service by calling the getService() method on the underlying BeanContextServiceProvider. @param child the BeanContextChild associated with this request @param requestor the object requesting the service @param serviceClass class of the requested service @param serviceSelector the service dependent parameter @param bcsrl the BeanContextServiceRevokedListener to notify if the service should later become revoked @throws TooManyListenersException @return a reference to this context's named Service as requested or null
Class BeanContextServices, boolean hasService(Class)

Reports whether or not a given service is currently available from this context. @param serviceClass the service in question @return true iffif the service is available.
Class BeanContextServices, void releaseService(BeanContextChild, Object, Object)

releaseReleases a BeanContextChild's (or any arbitrary object associated with a BeanContextChild) reference to the specified service referenceby calling releaseService() on the underlying BeanContextServiceProvider. @param child the BeanContextChild @param requestor the requestor @param service the service
Class BeanContextServices, void removeBeanContextServicesListener(BeanContextServicesListener)

removeRemoves a BeanContextServicesListener from this BeanContext @param bcsl the BeanContextServicesListener to remove from this context
Class BeanContextServices, void revokeService(Class, BeanContextServiceProvider, boolean)

BeanContextServiceProviders wishing to remove a currently registered service from this context may do so via invocation of this method. Upon revocation of the service the BeanContextServices fires a BeanContextServiceRevokedEvent to its list of currently registered BeanContextServiceRevokedListeners and BeanContextServicesListeners. @param serviceClass the service to revoke from this BeanContextBeanContextServices @param serviceProvider the BeanContextServiceProvider associated with this particular service that is being revoked @param revokeCurrentServicesNow a value of true indicates an exceptional circumstance where the BeanContextServiceProvider or BeanContextServices wishes to immediately terminate service to all currently outstanding references to the specified service.

Class BeanContextServicesListener, void serviceAvailable(BeanContextServiceAvailableEvent)

The service named has been registered. getService requests for this service may now be made. @param bcsae the BeanContextServiceAvailableEvent

Class BeanContextServicesSupport

This helper class provides a utility implementation of the java.beans.beancontext.BeanContextServices interface.

Since this class directly implements the BeanContextServices interface the class can and is intended to be used either by subclassing this implementation or via delegation of an instance of this class from another through the BeanContextProxy interface.

@author Laurence P. G. Cable @version 1.916 02/02/00 @since JDK11.2
Class BeanContextServicesSupport, void fireServiceAdded(Class)

FireFires a BeanContextServiceEvent notifying of a new service.
Class BeanContextServicesSupport, void fireServiceRevoked(BeanContextServiceRevokedEvent)

FireFires a BeanContextServiceEvent notifying of a service being revoked. @param bcsre the BeanContextServiceRevokedEvent
Class BeanContextServicesSupport, BeanContextServices getBeanContextServicesPeer()

Gets the BeanContextServices associated with this BeanContextServicesSupport. @return the instance of BeanContext this object is providing the implemen tationimplementation for.
Class BeanContextServicesSupport, BeanContextServicesListener getChildBeanContextServicesListener(Object)

Gets the BeanContextServicesListener (if any) of the specified child. @param child the specified child @return the BeanContextServicesListener (if any) of the specified child

Class BeanContextSupport

This helper class provides a utility implementation of the java.beans.beancontext.BeanContext interface.

Since this class directly implements the BeanContext interface the class can and is intended to be used either by subclassing this implementation or via ad-hoc delegation of an instance of this class from another.

@author Laurence P. G. Cable @version 1.2938 02/02/00 @since JDK11.2
Class BeanContextSupport, constructor BeanContextSupport(BeanContext)

Create an instance using with a default locale @param peer The peer BeanContext we are supplying an implementation for ifor null theif this object is its own peer
Class BeanContextSupport, constructor BeanContextSupport(BeanContext, Locale)

Create an instance using the specified locale @param peer The peer BeanContext we are supplying an implementation for ifor null theif this object is its own peer @param lcle The current Locale for this BeanContext. If lcle is null the default locale is assigned to the BeanContext instance. @see java.util.Locale#getDefault() @see java.util.Locale@#setDefault(java.util.Locale)
Class BeanContextSupport, constructor BeanContextSupport(BeanContext, Locale, boolean)

Create an instance using the specified Locale and design mode. @param peer The peer BeanContext we are supplying an implementation for ifor null theif this object is its own peer @param lcle The current Locale for this BeanContext. If lcle is null the default locale is assigned to the BeanContext instance. @param dtime The initial state true if in design mode false if runtime. @see java.util.Locale#getDefault() @see java.util.Locale@#setDefault(java.util.Locale)
Class BeanContextSupport, constructor BeanContextSupport(BeanContext, Locale, boolean, boolean)

Construct a BeanContextSupport instance @param peer The peer BeanContext we are supplying an implementation for ifor null theif this object is its own peer @param lcle The current Locale for this BeanContext. If lcle is null the default locale is assigned to the BeanContext instance. @param dtime The initial state true if in design mode false if runtime. @param visible The initial visibility. @see java.util.Locale#getDefault() @see java.util.Locale@#setDefault(java.util.Locale)
Class BeanContextSupport, boolean add(Object)

Adds/nests a child within this BeanContext .

Invoked as a side effect of java.beans.Beans.instantiate().

@param targetChildrentargetChild The child objects to nest within this BeanContext @return true if the child was added successfully.
Class BeanContextSupport, boolean addAll(Collection)

add Collection to set of Children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected field @throws UnsupportedOperationException
Class BeanContextSupport, boolean avoidingGui()

Used to determine if the BeanContext child is avoiding using its GUI. @return is this instance avoiding using its GUI @see Visibility
Class BeanContextSupport, Iterator bcsChildren()

Returns an iterator of all children of this BeanContext. @return an iterator for all the current BCSChild values
Class BeanContextSupport, void childDeserializedHook(Object, BCSChild)

calledCalled by readObject with the newly deserialized child and BCSChild. @param child the newly deserialized child @param bcsc the newly deserialized BCSChild
Class BeanContextSupport, boolean classEquals(Class, Class)

@returnTests to see if two class objects or their names are equal. @param first the first object @param second the second object @return true if equal false if not
Class BeanContextSupport, void clear()

clear the children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected field @throws UnsupportedOperationException
Class BeanContextSupport, boolean contains(Object)

Determines whether or not the specified object is currently a child of this BeanContext. @param o the Object in question @return if this object is a child
Class BeanContextSupport, boolean containsAll(Collection)

@returnTests to see if all object objects in the specified Collection are children of this BeanContext. @param c the specified Collection @return true if all objects in the collection are children of this BeanContext false if not.
Class BeanContextSupport, boolean containsKey(Object)

Determines whether or not the specified object is currently a child of this BeanContext. @param o the Object in question @return if this object is a child
Class BeanContextSupport, Object[] copyChildren()

Gets a copy of the this BeanContext's children. @returns a copy of the current nested children
Class BeanContextSupport, void deserialize(ObjectInputStream, Collection)

used by readObject to deserialize a collection. @param ois the ObjectInputStream to use @param coll the Collection
Class BeanContextSupport, BeanContext getBeanContextPeer()

@returnGets the instance of BeanContext that this object is providing the implemen tationimplementation for. @return the BeanContext instance
Class BeanContextSupport, BeanContextChild getChildBeanContextChild(Object)

Gets the BeanContextChild (if any) of the specified child @param child the specified child @return the BeanContextChild (if any) of the specified child @throw IllegalArgumentException if child implements both BeanContextChild and BeanContextProxy
Class BeanContextSupport, BeanContextMembershipListener getChildBeanContextMembershipListener(Object)

Gets the BeanContextMembershipListener (if any) of the specified child @param child the specified child @return the BeanContextMembershipListener (if any) of the specified child
Class BeanContextSupport, PropertyChangeListener getChildPropertyChangeListener(Object)

Gets the PropertyChangeListener (if any) of the specified child @param child the specified child @return the PropertyChangeListener (if any) of the specified child
Class BeanContextSupport, Serializable getChildSerializable(Object)

Gets the Serializable (if any) associated with the specified Child @param child the specified child @return the Serializable (if any) associated with the specified Child
Class BeanContextSupport, VetoableChangeListener getChildVetoableChangeListener(Object)

Gets the VetoableChangeListener (if any) of the specified child @param child the specified child @return the VetoableChangeListener (if any) of the specified child
Class BeanContextSupport, Visibility getChildVisibility(Object)

Gets the Component (if any) associated with the specified child. @param child the specified child @return the Component (if any) associated with the specified Childchild.
Class BeanContextSupport, Locale getLocale()

Gets the locale for this BeanContext. @return the current Locale of the BeanContext
Class BeanContextSupport, Object instantiateChild(String)

The instantiateChild method is a convenience hook in BeanContext to simplify the task of instantiating a Bean nested into a BeanContext.

The semantics of the beanName parameter are defined by java.beans.Beans.instantate.

@param beanName the name of the Bean to instantiate within this BeanContext @throws IOException if there is an I/O error when the bean is being deserialized @throws ClassNotFoundException if the class identified by the beanName parameter is not found @return the new object
Class BeanContextSupport, boolean isDesignTime()

Reports whether or not this object is in currently in design time mode. @return Designtrue if in design time mode false if not
Class BeanContextSupport, boolean isEmpty()

Reports whether or not this BeanContext is empty. A BeanContext is considered empty when it contains zero nested children. @return if there are not children
Class BeanContextSupport, boolean isSerializing()

Is this BeanContext in the process of being serialized @return if this BeanContext is currently being serialized
Class BeanContextSupport, Iterator iterator()

Gets all JavaBean or BeanContext instances currently nested in this BeanContext. @return an Iterator of the iteratornested children
Class BeanContextSupport, boolean remove(Object)

Removes a child from this BeanContext. @param targetChildrentargetChild The child objects to remove
Class BeanContextSupport, boolean removeAll(Collection)

remove all specified children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected field @throws UnsupportedOperationException
Class BeanContextSupport, boolean retainAll(Collection)

retain only specified children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected field @throws UnsupportedOperationException
Class BeanContextSupport, void setDesignTime(boolean)

Sets the new design time value for this BeanContext. @param dTime the new designTime value
Class BeanContextSupport, void setLocale(Locale)

Sets the locale of this BeanContext. @param newLocale the new locale @throws PropertyVetoException if the new value is rejected
Class BeanContextSupport, int size()

Gets the number of children currently nested in this BeanContext. @return number of children
Class BeanContextSupport, Object[] toArray()

@returnGets an array ofall JavaBean or childrenBeanContext instances currently nested in this BeanContext.
Class BeanContextSupport, Object[] toArray(Object[])

Gets an array containing all children of this BeanContext that match the types contained in arry. @param arry The array of object types that are of interest. @return an array of children