Class CompoundSnapModel
- java.lang.Object
-
- org.pentaho.reporting.designer.core.editor.report.snapping.CompoundSnapModel
-
- All Implemented Interfaces:
SnapPositionsModel
public class CompoundSnapModel extends Object implements SnapPositionsModel
Todo: Document Me- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description CompoundSnapModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(SnapPositionsModel model)
long
getNearestSnapPosition(long position, org.pentaho.reporting.engine.classic.core.util.InstanceID owner)
Computes the nearest snap-point.void
remove(SnapPositionsModel model)
-
-
-
Method Detail
-
add
public void add(SnapPositionsModel model)
-
remove
public void remove(SnapPositionsModel model)
-
getNearestSnapPosition
public long getNearestSnapPosition(long position, org.pentaho.reporting.engine.classic.core.util.InstanceID owner)
Computes the nearest snap-point.- Specified by:
getNearestSnapPosition
in interfaceSnapPositionsModel
- Parameters:
position
-- Returns:
-
-