|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
The AbleBeanContainer interface defines behavior for ABLE objects that can contain multiple AbleBean objects.
| Method Summary | |
|---|---|
void |
addBean(AbleBean theAbleBean)
Adds a bean to this container. |
boolean |
containsBean(AbleBean theAbleBean)
Indicates if a specific bean is present. |
boolean |
containsBean(java.lang.String theName)
Indicates if a bean with a specific name is present. |
AbleBean |
getBean(java.lang.String theName)
Returns a bean with a specific name from this container. |
java.util.Vector |
getBeans()
Returns a list of all contained beans. |
java.lang.String |
getName()
Returns the name of this container bean. |
void |
initAllBeans()
Initialize all beans in this container. |
void |
removeAllBeans()
Removes all beans from this container. |
void |
removeBean(AbleBean theAbleBean)
Removes a bean from this container, and sets the bean's parent to null. |
void |
removeBean(java.lang.String theName)
A convenience method to remove a bean by name which calls removeBean(AbleBean). |
void |
resetAllBeans()
Reset all beans in this container. |
| Method Detail |
public void addBean(AbleBean theAbleBean)
throws AbleException
theAbleBean - A bean that is to be added to this container. If the specified
bean is already present, the implementation may choose to throw an exception.
AbleException - If an error occurs.
public void removeBean(AbleBean theAbleBean)
throws AbleException
null.
theAbleBean - A bean that is to be removed from this container.
If the specified bean is not present, the
implementor may either throw an exception or ignore the
request as desired.
AbleException - If an error occurs.
public void removeBean(java.lang.String theName)
throws AbleException
removeBean(AbleBean).
theName - A name of a bean that is to be removed from this container.
AbleException - If an error occurs.
public void removeAllBeans()
throws AbleException
null.
AbleException - If an error occurs.
public void initAllBeans()
throws AbleException
AbleException - If an error occurs.
public void resetAllBeans()
throws AbleException
AbleException - If an error occurs.public boolean containsBean(AbleBean theAbleBean)
theAbleBean - A bean that to find in this container.
public boolean containsBean(java.lang.String theName)
theName - The specific name of a bean to find in this container.
public AbleBean getBean(java.lang.String theName)
theName - The specific name of a bean to be returned.
public java.util.Vector getBeans()
public java.lang.String getName()
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||