|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Layouter
Any layouter for any diagram type should implement this interface.
| 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 |
|---|
void add(LayoutedObject obj)
obj - represents the object to be part of the diagram.void remove(LayoutedObject obj)
obj - represents the object to be removed.LayoutedObject[] getObjects()
LayoutedObject getObject(int index)
index - represents the index of this object.
void layout()
java.awt.Dimension getMinimumDiagramSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||