de.cau.cs.kieler.kiml.util
Class BoxLayoutProvider
java.lang.Object
de.cau.cs.kieler.kiml.AbstractLayoutProvider
de.cau.cs.kieler.kiml.util.BoxLayoutProvider
public class BoxLayoutProvider
- extends AbstractLayoutProvider
A layout algorithm that does not take edges into account, but treats all
nodes as isolated boxes.
- Rating

- (2009-12-11) msp
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoxLayoutProvider
public BoxLayoutProvider()
doLayout
public void doLayout(KNode layoutNode,
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:
layoutNode
- 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
getDefault
public Object getDefault(String optionId)
- Returns the default value for the given layout option. The default
implementation always returns
null
.
- Overrides:
getDefault
in class AbstractLayoutProvider
- Parameters:
optionId
- identifier of a layout option
- Returns:
- the default value for the given option, or
null
if this
layout provider does not know that option