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
.See: Description
Interface | Description |
---|---|
IBendCreator |
Callback interface for instances that can create bends for a given edge and graph.
|
IBendHitTester |
This is a flagging interface for instances of
IHitTester that enumerate over a collection of
IBends . |
IBendSelectionTester |
Interface that can be used to find bends at specific locations in the canvas.
|
IBendSnapResultProvider |
Interface that is used by the
GraphSnapContext for bends to collect a number of
SnapResult s during the move/edit operation. |
ICommand |
Base interface for a command that can be executed.
|
IContainsBendTester |
An interface that checks for containment of an
IBend in 2D coordinate space. |
IDragHandler |
Interface for an object that can be used to drag something displayed in a
CanvasControl . |
IDropCreationCallback<T extends IModelItem> |
Callback for creating a copy of the dragged item in graph at the specified location.
|
IEdgeCreationCallback |
The delegate method that is used by
CreateEdgeInputMode to create edges between instances of
IPort . |
IEdgeHitTester |
This is a flagging interface for instances of
IHitTester that enumerate over a collection of
IEdges . |
IEdgePortHandleProvider | |
IEdgeReconnectionPortCandidateProvider |
This interface can be used to query
IPortCandidate s for a specific existing IEdge . |
IEdgeSnapResultProvider |
Interface for classes that help during snapping of parts of edges.
|
IEditLabelHelper |
Helper interface to customize interactive label editing.
|
IEventRecognizer |
An callback that recognizes events.
|
IGridConstraintProvider<T> |
Interface for classes that can snap coordinates of items of a specific type to a grid.
|
IHandle |
Interface for a handle that can be displayed in a
CanvasControl as a UI element for the
user to modify the contents of the control. |
IHandleProvider |
Interface for an object that provides a number of
IHandle implementations. |
IHitTestable |
Interface that is implemented for elements that can be hit or picked in a coordinate system.
|
IHitTestableHandler |
A delegate version of the
IHitTestable interface. |
IHitTester<T> |
An interface that can enumerate hits of a given type for a certain position in world coordinates.
|
IInputMode |
Interface implemented by input modes that can be registered with a
CanvasControl
instance. |
IInputModeContext |
The interface for the context object that is passed to
IInputMode instances during IInputMode.install(IInputModeContext, ConcurrencyController)
and IInputMode.uninstall(IInputModeContext) and IDragHandler implementations like IPositionHandler
and IHandle to provide additional context for the implementations. |
ILabelHitTester |
This is a flagging interface for instances of
IHitTester that enumerate over a collection of
ILabels . |
ILabelOwnerHitTester |
This is a flagging interface for instances of
IHitTester that enumerate over a collection of
ILabelOwner . |
ILabelSnapContextHelper |
Provides the snap lines and the snap results to the
LabelSnapContext during dragging of labels. |
IMarqueeTestable |
Interface that is used to test whether a rendered item is deemed to be inside a rectangular marquee selection.
|
IModelItemCollector |
An interface that allows input modes to collect
IModelItem s for various purposes. |
INodeCreationCallback |
A callback that is used by
GraphEditorInputMode for the creation of nodes. |
INodeHitTester |
This is a flagging interface for instances of
IHitTester that enumerate over a collection of
INodes . |
INodeInsetsProvider |
Interface for implementations that yield insets for a given
INode . |
INodeReshapeSnapResultProvider |
Interface for an implementation which evaluates a list of given
SnapLine s for a node which is resized and adds a
set of SnapResult s for sizes to which this node can potentially snap. |
INodeSizeConstraintProvider |
An interface used by implementations that provide various size constraints for
INode s. |
INodeSnapResultProvider |
Interface that is used by the
GraphSnapContext for nodes to collect a number of
SnapResult s during the move/edit operation. |
IOrthogonalEdgeHelper |
Interface used by
OrthogonalEdgeEditingContext and the like that can be decorated to the ILookup
of IEdge s. |
IPortCandidate |
An interface for possible
IPort candidates used by IPortCandidateProvider and the like. |
IPortCandidateProvider |
This interface is used to provide
IPortCandidate s for a specific IPortOwner . |
IPortHitTester |
This is a flagging interface for instances of
IHitTester that enumerate over a collection of
IPorts . |
IPortSelectionTester |
Interface that can be used to find ports at specific locations in the canvas.
|
IPortSnapResultProvider |
Interface that is used by the
GraphSnapContext for port to collect a number of
SnapResult s during the move/edit operation. |
IPositionHandler |
Interface for an object that can handle the position of an item displayed in a
CanvasControl . |
IReparentNodeHandler |
Interface used for implementations that recognize, approve and disapprove node reparenting gestures, as well as actually
performs the reparenting.
|
IReparentStripeHandler |
Interface used for implementations that recognize, approve and disapprove stripe reparenting gestures, as well as
actually performs the reparenting.
|
IReshapeHandleProvider |
A specialized version of the
IHandleProvider interface that can be used to query IHandle implementation
for resizing an object. |
IReshapeHandler |
Interface for an object that can be interactively reshaped in a
CanvasControl . |
ISnapLineProvider |
Queried by the
GraphSnapContext to add OrthogonalSnapLine s to its collections during the
initialization phase . |
IStripeHitTestHelper |
Helper interface that allows to bundle
IHitTestable implementations for the main regions of a IStripe
instance. |
IStripeInputVisualizationHelper |
This interface allows to change the visualization for different input gestures.
|
ITextEditorInputModeConfigurationHandler |
Callback for configuring a
TextEditorInputMode for editing a provided label instance. |
KeyboardInputMode.CanExecuteCommandHandler |
Defines the contract for determining whether a given
ICommand can be executed for the given parameter set. |
KeyboardInputMode.ExecuteCommandHandler |
Defines the contract for executign a given
ICommand for the given parameter set. |
Class | Description |
---|---|
AbstractContextMenuInputMode<TContextMenu> |
An implementation of the
IInputMode interface that will display a ContextMenu when the user right clicks
on the CanvasControl . |
AbstractInputMode |
Abstract base class implementation of an
IInputMode that can be used concurrently with other IInputMode
implementations if its Exclusive property is true . |
AbstractPortCandidateProvider |
An abstract convenience implementation of the
IPortCandidateProvider interface. |
AbstractReshapeHandleProvider |
Abstract base class implementation of the
IReshapeHandleProvider interface that has properties to restrict the
size and area of a reshapeable. |
ClickEventArgs |
Event arguments used by
Clicked . |
ClickInputMode |
An input mode that recognizes simple mouse clicks.
|
CollectGraphSnapLinesEventArgs |
Event arguments for the
CollectSnapLines
event. |
CollectLabelSnapLineEventArgs |
The event arguments used by
LabelSnapContext to collect custom snap lines for each drag. |
CollectSnapResultsEventArgs |
Event arguments for the
CollectSnapResults
event. |
ConcurrencyController |
A controller class that manages a single
IInputMode implementation. |
ConstrainedDragHandler<TWrapped extends IDragHandler> |
A utility implementation of the
IDragHandler interface that can be used to constrain the movement of an existing
instance. |
ConstrainedHandle |
A convenience implementation of the
IHandle interface that can be used to constrain the handle of an item. |
ConstrainedPositionHandler |
A convenience implementation of the
IPositionHandler interface that can be used to constrain the position of an
item. |
ConstrainedReshapeHandler |
A utility implementation of the
IReshapeHandler interface that can be used to constrain the reshaping of an
existing instance conveniently. |
ContextMenuInputMode |
The default implementation of
AbstractContextMenuInputMode interface that will
display a ContextMenu when the user right clicks on the com.yworks.yfiles.canvas.CanvasControl or presses the menu key. |
CreateBendInputMode | |
CreateEdgeInputMode |
An
IInputMode for interacticely creating edges between nodes and edges in an IGraph displayed in a CanvasControl
or GraphControl . |
DefaultBendCreator |
Simple default implementations of the
IBendCreator interface used during the creation of bends in the UI. |
DefaultPortCandidate |
A simple default implementation of an
IPortCandidate . |
DefaultStripeInputVisualizationHelper |
Default implementation of
IStripeInputVisualizationHelper that uses
IVisualTemplate s for the actual visualization. |
DropInputMode |
This is an input mode handling drag and drop related events on a
CanvasControl . |
EdgeSegmentSnapLine |
A specialized
SnapLine that is parallel to an edge segment and stores that edge. |
EdgeSnapLineProvider |
Simple implementation of the
ISnapLineProvider interface that can be used to add snap lines for orthogonally
routed IEdge s. |
EditLabelHelper |
Simple default implementation of the
IEditLabelHelper interface. |
FocusGuardInputMode |
An
IInputMode that can be added to a MultiplexingInputMode to suppress other modes from doing unwanted
things if the control has just become focused. |
GraphEditorInputMode | |
GraphSnapContext |
Concrete
SnapContext implementation which handles snapping movement for IGraph items. |
GraphViewerInputMode | |
GridConstraintProvider<T> |
A simple integer based implementation of
IGridConstraintProvider . |
GridSnapTypes |
The values of this enum describe to which grid elements an object shall snap.
|
HandleInputMode |
An
IInputMode implementation that can handle a collection of IHandle s. |
HandlePositions |
The possible positions of a rectangle
IHandle s. |
HandleTypes |
Describes the type of a
IHandle . |
HoveredItemChangedEventArgs |
Event argument class containing information about which
IModelItem the mouse is currently hovering over. |
InertiaPolicies |
Flaggable enumeration used by
Inertia to determine when to use inertia
moving. |
InputModeEventArgs |
Event argument base class that is used by events that are triggered by
IInputMode implementations. |
ItemClickedEventArgs<T> |
Provides data for the
ItemClicked ,
ItemDoubleClicked ,
ItemLeftClicked ,
ItemLeftDoubleClicked ,
ItemRightClicked and ItemRightDoubleClicked
events. |
ItemDropInputMode<T extends IModelItem> |
A
DropInputMode providing a preview of the dragged item. |
ItemHoverInputMode |
An input mode for use in a
GraphControl that fires events when the mouse enters or leaves
the visualization of a graph item . |
KeyboardInputMode |
An
IInputMode that recognizes simple key events and invokes a registered handler. |
KeyboardInputModeBinding |
A token returned by
KeyboardInputMode 's factory methods that can be used to KeyboardInputModeBinding.remove() the binding
again. |
KeyboardInputModeCommandBinding |
A token returned by
KeyboardInputMode 's factory methods that can be
used to KeyboardInputModeCommandBinding.remove() the created command binding again. |
KeyboardInputModeKeyBinding |
A token returned by
KeyboardInputMode 's factory methods that can be
used to KeyboardInputModeKeyBinding.remove() the created key binding again. |
KeyboardInputModeRecognizerBinding |
A token returned by
KeyboardInputMode 's factory methods that can be
used to KeyboardInputModeRecognizerBinding.remove() the created recognizer binding again. |
LabelEditingEventArgs |
Event arguments for the
LabelAdding
and LabelEditing events, as
well as the IEditLabelHelper interface. |
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. |
LabelSnapContext |
Manages interactive snapping of
ILabel s to their owner during drag operations like movements. |
LabelSnapContextHelper |
The default label snap context helper that provides the snap lines and the snap results to the
LabelSnapContext
during dragging of labels. |
LabelTextValidatingEventArgs |
Event arguments for the
ValidateLabelText
event. |
MarqueeSelectionEventArgs |
Event arguments used by
MarqueeSelectionInputMode . |
MarqueeSelectionInputMode |
An
IInputMode implementation that can handle marquee selections performed by the user with a mouse. |
MouseHoverInputMode |
An
IInputMode that detects when the mouse hovers over the CanvasControl . |
MoveInputMode |
Generic
IInputMode implementation that can be used to move something in the canvas using the mouse. |
MoveLabelInputMode | |
MovementInfo |
A helper class that is used in the context of
GraphSnapContext to describe the movement of entities during the
edit process. |
MoveTypes |
Describes the type of the movement of a point during an edit in the context of
GraphSnapContext . |
MoveViewportInputMode |
An
IInputMode implementation that can be used to grab and drag the viewport of the control it is installed in. |
MultiplexingInputMode |
A composite
IInputMode implementation that additionally can deal with Exclusive
instances. |
NavigationInputMode | |
NodeBasedSnapLine |
A specialized
OrthogonalSnapLine that stores a Node as additional information that can be
used for the visualization. |
NodeDropInputMode |
An
ItemDropInputMode specialized to drag'n'drop INode s. |
NodePairBasedSnapLine |
A specialized
OrthogonalSnapLine that stores two nodes as additional information that can be used
for the visualization. |
NodeReshapeSnapResultProvider |
The default implementation of the
INodeReshapeSnapResultProvider interface. |
NodeSizeConstraintProvider |
A simple default implementation of
INodeSizeConstraintProvider . |
NodeSnapLineProvider | |
NodeSnapResultProvider |
The default implementation of the
INodeSnapResultProvider interface. |
OrthogonalEdgeEditingContext |
A helper class that can be used to interactively reshape orthogonal edge paths.
|
OrthogonalEdgeHelper |
Default implementation of the
IOrthogonalEdgeHelper . |
OrthogonalSnapLine |
An orthogonal snap line, in other words, one that is parallel to the x or y axis.
|
OverviewInputMode |
An
IInputMode that can be used for an overview CanvasControl . |
PointBasedSnapLine |
A specialized
OrthogonalSnapLine that stores a Point instance as additional information that
can be used for the visualization. |
PopulateItemContextMenuEventArgs<TModelItem> |
A specialized subclass of
PopulateMenuEventArgs that carries the Item for which the context
menu should be populated. |
PopulateMenuEventArgs |
Event arguments for the
PopulateMenu
event. |
PortLocationModelParameterHandle |
An implementation of the
IHandle that can be used to move an IPort interactively by assigning new
IPortLocationModelParameter s to the LocationParameter . |
PortRelocationHandle |
A sophisticated implementation of the
IHandle interface that lets the user change an edge's source
and target port . |
PortRelocationHandleProvider |
Simple implementation of a
IHandleProvider that can be used for IEdge s. |
PortsHandleProvider |
A simple implementation of an
IHandleProvider that returns all handles in the lookup of the ports owned by the
given owner. |
QueryItemToolTipEventArgs<TModelItem> |
A specialized subclass of
ToolTipQueryEventArgs that carries the Item for which the tool tip
is queried. |
QueryPositionHandlerEventArgs |
Event argument that is used to query the
IPositionHandler that is used to move the items while dragging via
MoveInputMode . |
RectangleHandle |
A more sophisticated
IHandle implementation that modifies a rectangle. |
RectangleReshapeHandleProvider |
A simple convenience implementation of an
IReshapeHandleProvider that returns handles that modify a
IMutableRectangle . |
ReparentNodeHandler |
Simple default implementation of
IReparentNodeHandler that treats shift key presses as reparent gestures and
allows for reparenting all nodes. |
ReparentStripeHandler |
Default implementation of the
IReparentStripeHandler interface. |
ReparentStripeInputMode |
Specialized input mode that is used to reparent a stripe inside an
ITable structure. |
ReparentStripePositionHandler |
Customized
IPositionHandler implementation that moves a stripe in the table hierarchy when the stripe is
dragged. |
ReshapeHandlerHandle |
A more sophisticated
IHandle implementation that delegates to a IReshapeHandler . |
ReshapeRectangleContext |
Helper class that carries information about a reshape operation.
|
ResizeStripeInputMode |
Specialized input mode that is used to resize a stripe by dragging one of its borders.
|
SelectionEventArgs<T extends IModelItem> |
Event arguments that are used when modifying a
ISelectionModel . |
SnapContext |
Manages interactive snapping of elements to other elements during drag operations like movements.
|
SnapLine |
A snap line is a line segment in the world coordinate system to which other items (lines or points) snap during
interactive movements.
|
SnapLineSnapTypes |
The type of a
snap line . |
SnapResult |
This is the abstract base class used by the implementers of
SnapContext to model the result of the mouse being
snapped to a certain location. |
SnapState |
Describes the state of a snapping operation.
|
SnapTypes |
A flaggable enumeration of the different types of snaps that is used by
SnapState in SnapResult
implementations. |
StripeDropInputMode |
An
ItemDropInputMode specialized to drag 'n' drop IStripe s. |
StripeHitTester |
Support class that allows to iterate over hits on table elements or subregions of table elements.
|
StripeSubregion |
Helper class that further describes the result of a hit test on a stripe or table.
|
StripeSubregionTypes |
Enumeration that specifies the various hot spot regions of an
IStripe instance. |
TableEditorInputMode |
Input mode that can be used to interactively edit a table.
|
TableReshapeHandler |
IReshapeHandler implementation that constrains node resizes so that minimum size constraints of an associated ITable
are satisfied and which resizes the outer IStripe s of such a table when the node is resized. |
TapEventArgs |
Event arguments used by
Tapped . |
TapInputMode |
An input mode that recognizes simple touch taps.
|
TextEditorInputMode |
A simple
IInputMode that displays a TextArea instance in the CanvasControl to let the user edit
a text. |
TextEventArgs |
Event arguments used by
TextEditorInputMode . |
ToolTipQueryEventArgs |
Event argument that can be used to query the text to display when the mouse hovers over the given point in world
coordinate space.
|
WaitInputMode |
An
IInputMode implementation that can be used to block user interaction. |
Enum | Description |
---|---|
AdjustContentRectPolicy |
Policy to determine how the
content rectangle of the GraphControl
should be recalculated after interactive graph changes. |
DoubleClickPolicy |
Policy to determine how single and double click events are raised in response to mouse clicks.
|
EdgeSegmentDirection |
Defines the direction of an edge segment.
|
EventSource |
Specifies the source device for an event.
|
MoveFocusDirection |
Enumeration used by
NavigationInputMode to determine the direction of the search for items to navigate to. |
NodeAlignmentPolicy |
Enumeration used by
NavigationInputMode to determine which point (if any) of a group or folder node should be
kept fixed when toggling the group node state. |
OrthogonalEdgeEditingPolicy |
Enumeration defining different policies to enable or disable some aspects of creation or editing of orthogonal edges.
|
PortCandidateValidity |
Enumeration for the different possible
Validity states. |
SegmentOrientation |
Enumeration for possible orientations of a segment in a (partially) orthogonal edge routing.
|
SnapLineOrientation |
The orientation used by
orthogonal snap lines . |
SnapPolicy |
The policy constants used by
IGridConstraintProvider . |
StripeReparentPolicy |
Enumeration for the possible results of a reparent gesture.
|
StripeVisualizationType |
Enumeration constants for the various visualization types used in conjunction with
IStripeInputVisualizationHelper . |
TapHandlingPolicy |
Enumeration used by
TapHandlingPolicy . |
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
.
This CLR namespace is mapped to the XAML namespace XamlNamespaceConstants.YFILES_JAVA_FX_NS