Method Summary |
|
public boolean | add(Object o) Add a child to this BeanContext. |
public boolean | addAll(Collection c) Not supported. |
public void | addBeanContextMembershipListener(BeanContextMembershipListener bcml) Adds the specified BeanContextMembershipListener
to receive BeanContextMembershipEvents from
this BeanContext whenever it adds
or removes a child Component (s). |
public boolean | avoidingGui() Determines whether this bean is avoiding using a GUI.
true if the bean is currently avoiding use of the Gui.e.g. |
public void | clear() Not supported. |
public boolean | contains(Object o) Returns true if this BeanContext contains the specified child.
Parameters: o - element whose presence in this BeanContext is to be tested. |
public boolean | containsAll(Collection c) Returns true if this BeanContext contains all of the children
in the specified collection.
Parameters: c - collection to be checked for containment in this collection. |
public void | dontUseGui() This method instructs the bean that it should not use the Gui. |
public URL | getResource(String name, BeanContextChild bcc) Analagous to java.lang.ClassLoader.getResource() , this
method allows a BeanContext implementation to interpose
behavior between the child Component
and underlying ClassLoader . |
public InputStream | getResourceAsStream(String name, BeanContextChild bcc) Analagous to java.lang.ClassLoader.getResourceAsStream() ,
this method allows a BeanContext implementation
to interpose behavior between the child Component
and underlying ClassLoader . |
protected void | initialize() Init this classes data structures. |
public Object | instantiateChild(String beanName) Instantiate the javaBean named as a
child of this BeanContext . |
public boolean | isDesignTime() A value of true denotes that JavaBeans should behave in design time
mode, a value of false denotes runtime behavior. |
public boolean | isEmpty() Returns true if this BeanContext has no children. |
public Iterator | iterator() Returns an iterator over the elements in this collection. |
public boolean | needsGui() Determines whether this bean needs a GUI. |
public void | okToUseGui() This method instructs the bean that it is OK to use the Gui. |
public void | propertyChange(PropertyChangeEvent evt) This method gets called when a bound property is changed. |
final public void | readChildren(ObjectInputStream in) This public api is necessary to allow a bean context with a peer to deserialize its children. |
public boolean | remove(Object o) Remove the specified child from this BeanContext. |
public boolean | removeAll(Collection c) Not supported. |
public void | removeBeanContextMembershipListener(BeanContextMembershipListener bcml) Removes the specified BeanContextMembershipListener
so that it no longer receives BeanContextMembershipEvent s
when the child Component (s) are added or removed. |
public boolean | retainAll(Collection c) Not supported. |
public void | setDesignTime(boolean designTime) Sets the "value" of the "designTime" property. |
public int | size() Returns the number of children in this BeanContext. |
public Object[] | toArray() Returns an array containing all of the children in this BeanContext.
The returned array will be "safe" in that no references to it are
maintained by this collection. |
public Object[] | toArray(Object[] a) Returns an array containing all of the children of this BeanContext;
the runtime type of the returned array is that of the specified array.
Parameters: a - the array into which the elements of this collection are to bestored, if it is big enough; otherwise, a new array of the sameruntime type is allocated for this purpose. |
public void | vetoableChange(PropertyChangeEvent evt) This method gets called when a constrained property is changed. |
final public void | writeChildren(ObjectOutputStream oos) Necessary for the case of this bean context having a peer. |