Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Method and Description |
---|---|
LookupDecorator<IPort,IPositionHandler> |
PortDecorator.getPositionHandlerDecorator()
Gets a
LookupDecorator that decorates the IPositionHandler type for the type of items this instance has
been created for. |
LookupDecorator<INode,IPositionHandler> |
NodeDecorator.getPositionHandlerDecorator()
Gets a
LookupDecorator that decorates the IPositionHandler type for the type of items this instance has
been created for. |
LookupDecorator<ILabel,IPositionHandler> |
LabelDecorator.getPositionHandlerDecorator()
Gets a
LookupDecorator that decorates the IPositionHandler type for the type of items this instance has
been created for. |
LookupDecorator<IEdge,IPositionHandler> |
EdgeDecorator.getPositionHandlerDecorator()
Gets a
LookupDecorator that decorates the IPositionHandler type for the type of items this instance has
been created for. |
LookupDecorator<IBend,IPositionHandler> |
BendDecorator.getPositionHandlerDecorator()
Gets a
LookupDecorator that decorates the IPositionHandler type for the type of items this instance has
been created for. |
Modifier and Type | Class and Description |
---|---|
class |
ConstrainedPositionHandler
A convenience implementation of the
IPositionHandler interface that can be used to constrain the position of an
item. |
class |
LabelPositionHandler
An implementation of
IPositionHandler that shows the various label position candidates and lets the user move a
label to one of those candidate positions. |
class |
ReparentStripePositionHandler
Customized
IPositionHandler implementation that moves a stripe in the table hierarchy when the stripe is
dragged. |
Modifier and Type | Method and Description |
---|---|
protected IPositionHandler |
MoveLabelInputMode.createLabelPositionHandler(ILabel label)
Creates the
position handler for the given label used in
MoveLabelInputMode.isValidLabelHit(IInputModeContext, PointD) . |
IPositionHandler |
QueryPositionHandlerEventArgs.getPositionHandler()
The
IPositionHandler to use for the movement of the items that are affected by the
MoveInputMode . |
IPositionHandler |
MoveInputMode.getPositionHandler()
Gets the
IPositionHandler that will be used as fallback to handle that actual movement of the elements during
the drag. |
Modifier and Type | Method and Description |
---|---|
void |
QueryPositionHandlerEventArgs.setPositionHandler(IPositionHandler value)
The
IPositionHandler to use for the movement of the items that are affected by the
MoveInputMode . |
void |
MoveInputMode.setPositionHandler(IPositionHandler value)
Sets the
IPositionHandler that will be used as fallback to handle that actual movement of the elements during
the drag. |
Constructor and Description |
---|
ConstrainedPositionHandler(IPositionHandler wrappedHandler)
Initializes a new instance of the
ConstrainedPositionHandler class that delegates to the
wrappedHandler . |