|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Any layouter for any diagram type should implement this interface. The class has been taken from Argo UML source code.
| Method Summary | |
void |
add(LayoutedObject obj)
Add another object to the diagram. |
java.awt.Dimension |
getMinimumDiagramSize()
Operation getMinimumDiagramSize returns the minimum diagram size after the layout, so the diagram could be resized to this size. |
LayoutedObject |
getObject(int index)
Operation getObject returns one object from the diagram. |
LayoutedObject[] |
getObjects()
Operation getObjects returns all the layouted objects from this diagram. |
void |
layout()
This operation starts the actual layout process. |
void |
remove(LayoutedObject obj)
Remove a object from the diagram. |
| Method Detail |
public void add(LayoutedObject obj)
obj - represents the object to be part of the diagram.public void remove(LayoutedObject obj)
obj - represents the object to be removed.public LayoutedObject[] getObjects()
public LayoutedObject getObject(int index)
index - represents the index of this object.
public void layout()
public java.awt.Dimension getMinimumDiagramSize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||