|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implemented by classes that contain persistent Bebop components. The components are added via their corresponding PersistentComponentFactory that knows how to create the component. The relationship between the container and the components is an aggregate association (in UML terminology) with multiplicity 0..N on both ends of the association.
Field Summary | |
static String |
versionId
|
Method Summary | |
void |
addComponent(PersistentComponentFactory componentFactory)
Add a component last in the list of components in this container. |
void |
addComponent(PersistentComponentFactory componentFactory,
int position)
Add a component to the Container at the given position. |
void |
clearComponents()
Delete all component associations from this container |
void |
moveComponent(PersistentComponentFactory componentFactory,
int toPosition)
Move component to new position. |
void |
removeComponent(PersistentComponentFactory componentFactory)
Remove a component from the Container |
Field Detail |
public static final String versionId
Method Detail |
public void addComponent(PersistentComponentFactory componentFactory)
public void addComponent(PersistentComponentFactory componentFactory, int position)
position
- The position to add the component at. Positions start
with 1public void removeComponent(PersistentComponentFactory componentFactory)
public void moveComponent(PersistentComponentFactory componentFactory, int toPosition)
toPosition
- The position to move the component to. Positions start with 1.public void clearComponents()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |