com.mindfusion.diagramming
Class DirectionConstraint

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

public final class DirectionConstraint
extends java.lang.Object

The members of these enumeration specify in what direction to constrain the movement of a node. These constants can be used as parameters of the NodeConstraints.setMoveDirection(int) method of the NodeConstraints class.


Field Summary
static int Horizontal
          Users are allowed to move the node horizontally.
static int None
          Specifies no restrictions.
static int Vertical
          Users are allowed to move the node vertically.
 
Constructor Summary
DirectionConstraint()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

None

public static final int None
Specifies no restrictions.

See Also:
Constant Field Values

Horizontal

public static final int Horizontal
Users are allowed to move the node horizontally.

See Also:
Constant Field Values

Vertical

public static final int Vertical
Users are allowed to move the node vertically.

See Also:
Constant Field Values
Constructor Detail

DirectionConstraint

public DirectionConstraint()