Packagecom.yworks.graph.input
Classpublic class ReparentGesture
InheritanceReparentGesture Inheritance Object
Implements IEnum

Enumeration for the possible results of a reparent gesture.



Public Methods
 MethodDefined By
  
ReparentGesture(type:String)
Must not be used.
ReparentGesture
  
toString():String
ReparentGesture
  
[static]
ReparentGesture
Public Constants
 ConstantDefined By
  ADD_CHILD : ReparentGesture
[static] Add the moved stripe as a new child of the target stripe.
ReparentGesture
  INSERT_AFTER : ReparentGesture
[static] Insert the moved stripe after the target stripe.
ReparentGesture
  INSERT_BEFORE : ReparentGesture
[static] Insert the moved stripe before the target stripe.
ReparentGesture
  INVALID : ReparentGesture
[static] The current gesture would result in an invalid operation (such as trying to make a stripe to its own child).
ReparentGesture
Constructor Detail
ReparentGesture()Constructor
public function ReparentGesture(type:String)

Must not be used.

Use the enum values defined by the constants instead.

Parameters
type:String
Method Detail
toString()method
public function toString():String

Returns
String
valueOf()method 
public static function valueOf(type:String):ReparentGesture

Parameters

type:String

Returns
ReparentGesture
Constant Detail
ADD_CHILDConstant
public static const ADD_CHILD:ReparentGesture

Add the moved stripe as a new child of the target stripe.

INSERT_AFTERConstant 
public static const INSERT_AFTER:ReparentGesture

Insert the moved stripe after the target stripe.

INSERT_BEFOREConstant 
public static const INSERT_BEFORE:ReparentGesture

Insert the moved stripe before the target stripe.

INVALIDConstant 
public static const INVALID:ReparentGesture

The current gesture would result in an invalid operation (such as trying to make a stripe to its own child).