de.cau.cs.kieler.kiml.util
Class RandomLayoutProvider
java.lang.Object
de.cau.cs.kieler.core.properties.MapPropertyHolder
de.cau.cs.kieler.kiml.AbstractLayoutProvider
de.cau.cs.kieler.kiml.util.RandomLayoutProvider
- All Implemented Interfaces:
- IPropertyHolder
public class RandomLayoutProvider
- extends AbstractLayoutProvider
Layout provider that computes random layouts.
- Rating

Field Summary |
static String |
ID
the layout provider id. |
Method Summary |
void |
doLayout(KNode parentNode,
IKielerProgressMonitor progressMonitor)
Performs the actual layout process, that is attaches layout information
to the given node object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- the layout provider id.
- See Also:
- Constant Field Values
RandomLayoutProvider
public RandomLayoutProvider()
- Initialize default options of the layout provider.
doLayout
public void doLayout(KNode parentNode,
IKielerProgressMonitor progressMonitor)
throws KielerException
- Performs the actual layout process, that is attaches layout information
to the given node object.
- Specified by:
doLayout
in class AbstractLayoutProvider
- Parameters:
parentNode
- the parent node which should be laid outprogressMonitor
- progress monitor used to keep track of progress
- Throws:
KielerException
- if the method fails to perform layout