documentationfor yFiles for HTML 2.6

Method Return Values

determineGesture (IInputModeContext, IPoint, IStripe, StripeSubregion, Rect)in ReparentStripePositionHandlerDetermine the reparent gesture that would result from the given parameters.
from (StripeReparentPolicy)in StripeReparentPolicyConverts the argument to StripeReparentPolicy.

Method Parameters

create ()in IReparentStripeHandlerCreates an implementation of the interface IReparentStripeHandler from the given definition.
isValidParent (IInputModeContext, IStripe, IStripe, number, StripeReparentPolicy)in IReparentStripeHandlerDetermines whether the provided node may be reparented to a newParent.
reparent (IInputModeContext, IStripe, IStripe, number, StripeReparentPolicy)in IReparentStripeHandlerPerforms the actual reparenting after the reparent gesture has been finalized.
adjustSize (IInputModeContext, IStripe, IStripe, StripeReparentPolicy, number, number, number)in ReparentStripeHandlerAdjust the size of the source or the target stripe.
isValidParent (IInputModeContext, IStripe, IStripe, number, StripeReparentPolicy)in ReparentStripeHandlerChecks the constraints imposed by maxRowLevel or maxColumnLevel for a valid gesture.
reparent (IInputModeContext, IStripe, IStripe, number, StripeReparentPolicy)in ReparentStripeHandlerPerforms the actual reparenting after the reparent gesture has been finalized.
updateSourceGhost (IInputModeContext, ICanvasObject, IStripe, StripeReparentPolicy)in ReparentStripePositionHandlerUpdates the source ghost visualization after a drag.
updateTargetGhost (IInputModeContext, ICanvasObject, IStripe, StripeReparentPolicy, Rect)in ReparentStripePositionHandlerModifies the target ghost visualization after a drag.
updateTargetGhostBounds (Rect, StripeReparentPolicy, IStripe)in ReparentStripePositionHandlerUpdates the visualization bounds for the target visualization depending on the provided values.
from (StripeReparentPolicy)in StripeReparentPolicyConverts the argument to StripeReparentPolicy.