public class DragBoundsEnforcer extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
enforce(Bounds bounds) |
void |
enforce(Graph<DefinitionSet,? extends Node> graph) |
static DragBoundsEnforcer |
forSelectionManager(com.ait.lienzo.client.core.shape.wires.SelectionManager selectionManager) |
static DragBoundsEnforcer |
forShape(ShapeView shape) |
DragBoundsEnforcer |
withMargin(int margin) |
public static DragBoundsEnforcer forShape(ShapeView shape)
public static DragBoundsEnforcer forSelectionManager(com.ait.lienzo.client.core.shape.wires.SelectionManager selectionManager)
public DragBoundsEnforcer withMargin(int margin)
public void enforce(Bounds bounds)
public void enforce(Graph<DefinitionSet,? extends Node> graph)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.