documentationfor yFiles for HTML 2.6

Properties

positionHandlerDecoratorin BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IPositionHandler type for IBends this instance has been created for.
positionHandlerDecoratorin EdgeDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IPositionHandler type for IEdges this instance has been created for.
positionHandlerDecoratorin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IPositionHandler type for the ILabels this instance has been created for.
positionHandlerDecoratorin NodeDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IPositionHandler type for the INodes this instance has been created for.
positionHandlerDecoratorin PortDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IPositionHandler type for IPorts this instance has been created for.
positionHandlerDecoratorin StripeDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IPositionHandler type for the type of items this instance has been created for.
positionHandlerin MoveInputModeGets or sets the IPositionHandler that will be used as fallback to handle that actual movement of the elements during the drag.
positionHandlerin QueryPositionHandlerEventArgsGets or sets the IPositionHandler to use for the movement of the items that are affected by the MoveInputMode.

Fields

SELECTED_MOVABLES_POSITION_HANDLERin GraphEditorInputModeAn IPositionHandler combining all position handlers of selected model items that are movable.

Method Return Values

combine (IEnumerable<IPositionHandler>)in IPositionHandlerCreates a generic composite implementation for the IPositionHandler interface.
combine (IPositionHandler)in IPositionHandlerCreates a generic composite implementation for the IPositionHandler interface.
create ()in IPositionHandlerCreates an implementation of the interface IPositionHandler from the given definition.
createLabelPositionHandler (ILabel)in MoveLabelInputModeCreates the position handler for the given label used in isValidLabelHit.

Method Parameters

ConstrainedPositionHandler (IPositionHandler)in ConstrainedPositionHandlerInitializes a new instance of the ConstrainedPositionHandler class that delegates to the wrappedHandler.
GroupingNodePositionHandler (INode, IPositionHandler?)in GroupingNodePositionHandlerInitializes a new instance of the GroupingNodePositionHandler class.
combine (IEnumerable<IPositionHandler>)in IPositionHandlerCreates a generic composite implementation for the IPositionHandler interface.
combine (IPositionHandler)in IPositionHandlerCreates a generic composite implementation for the IPositionHandler interface.
MoveInputMode ()in MoveInputModeInitializes a new instance of the MoveInputMode class.
MoveLabelInputMode ()in MoveLabelInputModeCreates a new instance that will move labels in the graph retrieved from the inputModeContext.
ReparentStripeInputMode ()in ReparentStripeInputModeInitializes a new instance of the ReparentStripeInputMode class.

Extending Types

ConstrainedPositionHandlerAn implementation of the IPositionHandler interface that can be used to constrain the position of an item.

Implementing Types

ConstrainedPositionHandlerAn implementation of the IPositionHandler interface that can be used to constrain the position of an item.
GroupingNodePositionHandlerThe IPositionHandler implementation used in the context of IGraphs where there is a active hierarchy.
LabelPositionHandlerAn implementation of IPositionHandler that shows the various label position candidates and lets the user move a label to one of those candidate positions.
ReparentStripePositionHandlerCustomized IPositionHandler implementation that moves a stripe in the table hierarchy when the stripe is dragged.