public class GridTransformMediator extends Object implements TransformMediator
GridWidget
to move beyond the "edges" of the "visible bounds" effectively "sticking" the GridWidget
to the edges.Constructor and Description |
---|
GridTransformMediator(GridWidget gridWidget) |
Modifier and Type | Method and Description |
---|---|
com.ait.lienzo.client.core.types.Transform |
adjust(com.ait.lienzo.client.core.types.Transform transform,
Bounds visibleBounds)
Adjusts a
Transform to mediate transformations. |
public GridTransformMediator(GridWidget gridWidget)
public com.ait.lienzo.client.core.types.Transform adjust(com.ait.lienzo.client.core.types.Transform transform, Bounds visibleBounds)
TransformMediator
Transform
to mediate transformations.adjust
in interface TransformMediator
transform
- The proposed Transform to be applied to the Viewport.visibleBounds
- Bounds
of the visible portion of the Viewport.Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.