The members of this enumeration specify whether JDiagram lets users drag items outside of the currently define document bounds. They can be used as parameters of the setRestrictItemsToBounds method of the Diagram class.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public enum RestrictToBounds |
Member name | Description | |
---|---|---|
![]() |
InsideOnly |
The items should be always inside the document area. |
![]() |
Intersection |
Let users drag items outside of the scrollable area as long as there is some part of them still inside. |
![]() |
NoRestriction |
Do not prevent users from dragging items outside of the document scrollable area. |