DroidDiagram Programmer's Guide
RestrictToBounds Enumeration
See Also
 






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

 Syntax

Java  Copy Code

public enum RestrictToBounds

 Members

  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.

 See Also

com.mindfusion.diagramming Namespace