The members of this enumeration specify whether JDiagram lets users drag items outside of the currently define document bounds. These constants can be used as parameters of the Diagram.setRestrictItemsToBounds method of the Diagram class.
The following tables list the members exposed by the RestrictToBounds type.
Name | Description | |
---|---|---|
![]() |
|
Name | Description | |
---|---|---|
![]() ![]() |
The items should be always inside the document area. |
|
![]() ![]() |
Let users drag items outside of the scrollable area as long as there is some part of them still inside. |
|
![]() ![]() |
Do not prevent users from dragging items outside of the document scrollable area. |