|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uni_paderborn.fujaba.layout.AbstractLayouter
de.uni_paderborn.fujaba.layout.classdiag.ClassdiagramLayouter
This class implements a layout algoritms for class diagrams. The class has been taken from Argo UML source code.
| Field Summary | |
static ClassdiagramLayouter |
theInstance
Make this class a Singleton. |
| Method Summary | |
void |
add(de.uni_paderborn.fujaba.layout.classdiag.ClassdiagramNode obj)
Add a ClassdiagramNode to layout. |
void |
add(LayoutedObject obj)
Add a object to layout. |
static ClassdiagramLayouter |
get()
No comment provided by developer, please add a comment to improve documentation. |
de.uni_paderborn.fujaba.layout.classdiag.ClassdiagramNode |
getClassdiagramNode(int index)
Get a ClassdiagramNode from the layouted objects. |
protected int |
getHGap()
Get the horizontal gap between nodes. |
java.awt.Dimension |
getMinimumDiagramSize()
Operation getMinimumDiagramSize returns the minimum diagram size after the layout process. |
LayoutedObject |
getObject(int index)
Operation getObject returns a object with a given index from the layouter. |
LayoutedObject[] |
getObjects()
Operation getObjects returns all the objects currently participating in the layout process. |
protected int |
getVGap()
Get the vertical gap between nodes. |
void |
layout()
Operation layout implements the actual layout algorithm. |
void |
reLayout(FSAContainer currentCanvas)
No comment provided by developer, please add a comment to improve documentation. |
void |
remove(LayoutedObject obj)
Remove a object from the layout process. |
| Methods inherited from class de.uni_paderborn.fujaba.layout.AbstractLayouter |
checkVisited, getChild, getFrame, getFromToFrame, getHorizDist, getLeft, getPreferredLen, getPresetAdjustment, getRevMyLayouter, getVertDist, innerLayout, isLastCondition, refreshOptions, removeYou, searchStart, setHorizDist, setLastCondition, setLeft, setPresetAdjustment, setRevMyLayouter, setVertDist |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static ClassdiagramLayouter theInstance
| Method Detail |
public static ClassdiagramLayouter get()
public void add(LayoutedObject obj)
add in interface Layouterobj - represents the object to layout.public void add(de.uni_paderborn.fujaba.layout.classdiag.ClassdiagramNode obj)
obj - represents the object to layout.public void remove(LayoutedObject obj)
remove in interface Layouterobj - represents the object to remove.public LayoutedObject[] getObjects()
getObjects in interface Layouterpublic LayoutedObject getObject(int index)
getObject in interface Layouterindex - represents the index of this object in the layouter.
public de.uni_paderborn.fujaba.layout.classdiag.ClassdiagramNode getClassdiagramNode(int index)
index - represents the index of this ClassdiagramNode.
public void layout()
layout in interface Layouterpublic java.awt.Dimension getMinimumDiagramSize()
getMinimumDiagramSize in interface Layouterprotected int getVGap()
protected int getHGap()
public void reLayout(FSAContainer currentCanvas)
throws java.lang.InterruptedException
reLayout in class AbstractLayoutercurrentCanvas - No description provided
java.lang.InterruptedException - Exception description not provided
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||