Packagecom.yworks.graph.input.snapLines
Classpublic class MoveTypes
InheritanceMoveTypes Inheritance Object

Describes the type of the movement of a point during an edit in the context of GraphSnapContext.

See also

com.yworks.graph.input.snapLines.GraphSnapContext


Public Constants
 ConstantDefined By
  FIXED : uint = 0x0
[static] The element does not move at all during the edit.
MoveTypes
  LINEAR_MOVE : uint
[static] The element moves linearly with the mouse in both directions.
MoveTypes
  LINEAR_MOVE_X : uint = 0x01
[static] The element moves linearly with the mouse in horizontal direction.
MoveTypes
  LINEAR_MOVE_Y : uint = 0x02
[static] The element moves linearly with the mouse in vertical direction.
MoveTypes
  MOVEMENT_X : uint
[static] The bit wise combination of LINEAR_MOVE_X and NON_LINEAR_MOVE_X.
MoveTypes
  MOVEMENT_Y : uint
[static] The bit wise combination of LINEAR_MOVE_Y and NON_LINEAR_MOVE_Y.
MoveTypes
  NON_LINEAR_MOVE : uint
[static] The element moves in both directions but not linearly/predictably with the mouse.
MoveTypes
  NON_LINEAR_MOVE_X : uint = 0x04
[static] The element moves in horizontal direction but not linearly/predictably with the mouse.
MoveTypes
  NON_LINEAR_MOVE_Y : uint = 0x08
[static] The element moves in vertical direction but not linearly/predictably with the mouse.
MoveTypes
Constant Detail
FIXEDConstant
public static const FIXED:uint = 0x0

The element does not move at all during the edit.

LINEAR_MOVEConstant 
public static const LINEAR_MOVE:uint

The element moves linearly with the mouse in both directions.

LINEAR_MOVE_XConstant 
public static const LINEAR_MOVE_X:uint = 0x01

The element moves linearly with the mouse in horizontal direction.

LINEAR_MOVE_YConstant 
public static const LINEAR_MOVE_Y:uint = 0x02

The element moves linearly with the mouse in vertical direction.

MOVEMENT_XConstant 
public static const MOVEMENT_X:uint

The bit wise combination of LINEAR_MOVE_X and NON_LINEAR_MOVE_X.

MOVEMENT_YConstant 
public static const MOVEMENT_Y:uint

The bit wise combination of LINEAR_MOVE_Y and NON_LINEAR_MOVE_Y.

NON_LINEAR_MOVEConstant 
public static const NON_LINEAR_MOVE:uint

The element moves in both directions but not linearly/predictably with the mouse.

NON_LINEAR_MOVE_XConstant 
public static const NON_LINEAR_MOVE_X:uint = 0x04

The element moves in horizontal direction but not linearly/predictably with the mouse.

NON_LINEAR_MOVE_YConstant 
public static const NON_LINEAR_MOVE_Y:uint = 0x08

The element moves in vertical direction but not linearly/predictably with the mouse.