com.mindfusion.diagramming
Class RestrictToBounds

java.lang.Object
  extended by com.mindfusion.diagramming.RestrictToBounds

public final class RestrictToBounds
extends java.lang.Object

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(int) method of the Diagram class.


Field Summary
static int InsideOnly
          The items should be always inside the document area.
static int Intersection
          Let users drag items outside of the scrollable area as long as there is some part of them still inside.
static int NoRestriction
          Do not prevent users from dragging items outside of the document scrollable area.
 
Constructor Summary
RestrictToBounds()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NoRestriction

public static final int NoRestriction
Do not prevent users from dragging items outside of the document scrollable area.

See Also:
Constant Field Values

Intersection

public static final int Intersection
Let users drag items outside of the scrollable area as long as there is some part of them still inside.

See Also:
Constant Field Values

InsideOnly

public static final int InsideOnly
The items should be always inside the document area.

See Also:
Constant Field Values
Constructor Detail

RestrictToBounds

public RestrictToBounds()