public class BoundaryTransformMediator extends Object implements org.uberfire.ext.wires.core.grids.client.widget.layer.pinning.TransformMediator
TransformMediator
that 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 underlying GridWidget
Constructor and Description |
---|
BoundaryTransformMediator(org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget) |
Modifier and Type | Method and Description |
---|---|
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) |
public BoundaryTransformMediator(org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget)
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)
adjust
in interface org.uberfire.ext.wires.core.grids.client.widget.layer.pinning.TransformMediator
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.