Class HorizontalShiftAlgorithm
- java.lang.Object
-
- org.eclipse.gef.layout.algorithms.HorizontalShiftAlgorithm
-
- All Implemented Interfaces:
ILayoutAlgorithm
public class HorizontalShiftAlgorithm extends java.lang.Object implements ILayoutAlgorithm
This layout shifts overlapping nodes to the right.
-
-
Constructor Summary
Constructors Constructor Description HorizontalShiftAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyLayout(LayoutContext context, boolean clean)
Makes this algorithm perform layout computation and apply it to its context.
-
-
-
Method Detail
-
applyLayout
public void applyLayout(LayoutContext context, boolean clean)
Description copied from interface:ILayoutAlgorithm
Makes this algorithm perform layout computation and apply it to its context.- Specified by:
applyLayout
in interfaceILayoutAlgorithm
- Parameters:
context
- TheLayoutContext
that provides all relevant information about what to layout.clean
- if true the receiver should assume that the layout context has changed significantly and recompute the whole layout even if it keeps track of changes with listeners. False can be used after dynamic layout in a context is turned back on so that layout algorithm working in background can apply accumulated changes. Static layout algorithm can ignore this call entirely if clean is false.
-
-