org.argouml.uml.diagram.layout
Interface LayoutedContainer
- public interface LayoutedContainer
This interface is for container in a layouted diagram. They are
intended to hold other object like nodes or even other containers.
An example are nested packages in classdiagrams.
Method Summary |
void |
add(LayoutedObject obj)
Add an object to this container. |
LayoutedObject[] |
getContent()
Operation getContent returns all the objects from
this container. |
void |
remove(LayoutedObject obj)
Remove an object from this container. |
void |
resize(java.awt.Dimension newSize)
Resize this container, so it fits the layouted objects within itself. |
add
public void add(LayoutedObject obj)
- Add an object to this container.
- Parameters:
obj
- represents the object to add to this container.
remove
public void remove(LayoutedObject obj)
- Remove an object from this container.
- Parameters:
obj
- represents the object to be removed.
getContent
public LayoutedObject[] getContent()
- Operation getContent returns all the objects from
this container.
- Returns:
- All the objects from this container.
resize
public void resize(java.awt.Dimension newSize)
- Resize this container, so it fits the layouted objects within itself.
- Parameters:
newSize
- represents The new size of this container.