Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module : java.desktop - Package : java.beans.beancontext
Version documentée : Java SE 17

Classe « BeanContextSupport »

Informations générales

Héritage

java.lang.Object
    java.beans.beancontext.BeanContextChildSupport
        java.beans.beancontext.BeanContextSupport

Interfaces implémentées

java.beans.PropertyChangeListener
java.beans.VetoableChangeListener
java.beans.beancontext.BeanContext
java.io.Serializable

Définition

public class BeanContextSupport extends java.beans.beancontext.BeanContextChildSupport
implements java.beans.PropertyChangeListener,
java.beans.VetoableChangeListener,
java.beans.beancontext.BeanContext,
java.io.Serializable

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription
protected ArrayList bcmListeners
protected HashMap children
protected boolean designTime
protected Locale locale
protected boolean okToUseGui

Liste des constructeurs

Constructeurs Constructeurs dépréciés
ConstructeurDescription
BeanContextSupport()
BeanContextSupport( BeanContext peer )
BeanContextSupport( BeanContext peer, Locale lcle )
BeanContextSupport( BeanContext peer, Locale lcle, boolean dtime )
BeanContextSupport( BeanContext peer, Locale lcle, boolean dTime, boolean visible )

Liste des propriétés (getters/setters)

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
public BeanContext beanContextPeer R/-
public synchronized boolean designTime R/W
public boolean empty R/-
public synchronized Locale locale R/W
public boolean serializing R/-

Propriétés héritées de la classe java.beans.beancontext.BeanContextChildSupport

beanContext, beanContextChildPeer, delegated

Propriétés héritées de la classe java.lang.Object

class

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes concrètes Méthodes abstraites Méthodes dépréciées
QualificateursType de retourPrototype de la méthodeDescription
public boolean add( Object targetChild )
public boolean addAll( Collection c )
public void addBeanContextMembershipListener( BeanContextMembershipListener bcml )
public boolean avoidingGui()
protected Iterator<java.beans.beancontext.BeanContextSupport$BCSChild> bcsChildren()
protected void bcsPreDeserializationHook( ObjectInputStream ois )
protected void bcsPreSerializationHook( ObjectOutputStream oos )
protected void childDeserializedHook( Object child, BCSChild bcsc )
protected void childJustAddedHook( Object child, BCSChild bcsc )
protected void childJustRemovedHook( Object child, BCSChild bcsc )
protected static boolean classEquals( Class<?> first, Class<?> second )
public void clear()
public boolean contains( Object o )
public boolean containsAll( Collection c )
public boolean containsKey( Object o )
protected Object[] copyChildren()
protected BCSChild createBCSChild( Object targetChild, Object peer )
protected void deserialize( ObjectInputStream ois, Collection coll )
public synchronized void dontUseGui()
protected void fireChildrenAdded( BeanContextMembershipEvent bcme )
protected void fireChildrenRemoved( BeanContextMembershipEvent bcme )
public BeanContext getBeanContextPeer()
protected static BeanContextChild getChildBeanContextChild( Object child )
protected static BeanContextMembershipListener getChildBeanContextMembershipListener( Object child )
protected static PropertyChangeListener getChildPropertyChangeListener( Object child )
protected static Serializable getChildSerializable( Object child )
protected static VetoableChangeListener getChildVetoableChangeListener( Object child )
protected static Visibility getChildVisibility( Object child )
public synchronized Locale getLocale()
public URL getResource( String name, BeanContextChild bcc )
public InputStream getResourceAsStream( String name, BeanContextChild bcc )
protected synchronized void initialize()
public Object instantiateChild( String beanName )
public synchronized boolean isDesignTime()
public boolean isEmpty()
public boolean isSerializing()
public Iterator<java.lang.Object> iterator()
public synchronized boolean needsGui()
public synchronized void okToUseGui()
public void propertyChange( PropertyChangeEvent pce )
public void readChildren( ObjectInputStream ois )
public boolean remove( Object targetChild )
protected boolean remove( Object targetChild, boolean callChildSetBC )
public boolean removeAll( Collection c )
public void removeBeanContextMembershipListener( BeanContextMembershipListener bcml )
public boolean retainAll( Collection c )
protected void serialize( ObjectOutputStream oos, Collection<?> coll )
public synchronized void setDesignTime( boolean dTime )
public synchronized void setLocale( Locale newLocale )
public int size()
public Object[] toArray( Object[] arry )
public Object[] toArray()
protected boolean validatePendingAdd( Object targetChild )
protected boolean validatePendingRemove( Object targetChild )
public void vetoableChange( PropertyChangeEvent pce )
public void writeChildren( ObjectOutputStream oos )

Méthodes héritées de la classe java.beans.beancontext.BeanContextChildSupport

addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getBeanContext, getBeanContextChildPeer, initializeBeanContextResources, isDelegated, releaseBeanContextResources, removePropertyChangeListener, removeVetoableChangeListener, serviceAvailable, serviceRevoked, setBeanContext, validatePendingSetBeanContext

Méthodes héritées de la classe java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait