Class BoundaryTransformMediator
- java.lang.Object
-
- org.kie.workbench.common.dmn.client.widgets.grid.BoundaryTransformMediator
-
- All Implemented Interfaces:
org.uberfire.ext.wires.core.grids.client.widget.layer.pinning.TransformMediator
public class BoundaryTransformMediator extends Object implements org.uberfire.ext.wires.core.grids.client.widget.layer.pinning.TransformMediator
ATransformMediatorthat prevents transformations from being applied such that the "visible bounds" (i.e. the visible portion of the Viewport) would extend beyond the boundary of a notional rectangular region. This particular implementation uses a "dynamic bounds" from the underlyingGridWidget
-
-
Constructor Summary
Constructors Constructor Description BoundaryTransformMediator(org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ait.lienzo.client.core.types.Transformadjust(com.ait.lienzo.client.core.types.Transform transform, org.uberfire.ext.wires.core.grids.client.model.Bounds visibleBounds)
-
-
-
Method Detail
-
adjust
public com.ait.lienzo.client.core.types.Transform adjust(com.ait.lienzo.client.core.types.Transform transform, org.uberfire.ext.wires.core.grids.client.model.Bounds visibleBounds)- Specified by:
adjustin interfaceorg.uberfire.ext.wires.core.grids.client.widget.layer.pinning.TransformMediator
-
-