Package | Description |
---|---|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
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 | Field and Description |
---|---|
static ResourceKey |
EdgeSelectionIndicatorInstaller.BEND_TEMPLATE_KEY
A
ResourceKey that will be used to find the IVisualTemplate that will be used to draw the bends of the
edge. |
static ResourceKey |
EdgeHighlightIndicatorInstaller.BEND_TEMPLATE_KEY
A
ResourceKey that will be used to find the IVisualTemplate that will be used to draw the bends of the
edge. |
static ResourceKey |
EdgeFocusIndicatorInstaller.BEND_TEMPLATE_KEY
A
ResourceKey that will be used to find the IVisualTemplate that will be used to draw the bends of the
edge. |
static ResourceKey |
DefaultPortCandidateDescriptor.CANDIDATE_DRAWING_INVALID_FOCUSED_KEY
A
ResourceKey that can be used by instances of the DefaultPortCandidateDescriptor to look up a IVisualTemplate
that will be used for rendering a invalid, focused IPortCandidate . |
static ResourceKey |
DefaultPortCandidateDescriptor.CANDIDATE_DRAWING_INVALID_NON_FOCUSED_KEY
A
ResourceKey that can be used by instances of the DefaultPortCandidateDescriptor to look up a IVisualTemplate
that will be used for rendering an invalid, non-focused IPortCandidate . |
static ResourceKey |
DefaultPortCandidateDescriptor.CANDIDATE_DRAWING_VALID_FOCUSED_KEY
A
ResourceKey that can be used by instances of the DefaultPortCandidateDescriptor to look up a IVisualTemplate
that will be used for rendering a valid, focused IPortCandidate . |
static ResourceKey |
DefaultPortCandidateDescriptor.CANDIDATE_DRAWING_VALID_NON_FOCUSED_KEY
A
ResourceKey that can be used by instances of the DefaultPortCandidateDescriptor to look up a IVisualTemplate
that will be used for rendering a valid, non-focused IPortCandidate . |
static ResourceKey |
RectangleIndicatorInstaller.FOCUS_TEMPLATE_KEY
A
ResourceKey that will be used to find the IVisualTemplate for drawing the focus indicator. |
static ResourceKey |
OrientedRectangleIndicatorInstaller.FOCUS_TEMPLATE_KEY
A
ResourceKey that will be used to find the IVisualTemplate for drawing the focus indicator. |
static ResourceKey |
RectangleIndicatorInstaller.HIGHLIGHT_TEMPLATE_KEY
A
ResourceKey that will be used to find the IVisualTemplate for drawing the highlight indicator. |
static ResourceKey |
OrientedRectangleIndicatorInstaller.HIGHLIGHT_TEMPLATE_KEY
A
ResourceKey that will be used to find the IVisualTemplate for drawing the highlight indicator. |
static ResourceKey |
EdgeSelectionIndicatorInstaller.PEN_KEY
A
ResourceKey that will be used to find the Pen that will be used to draw the path of the edge. |
static ResourceKey |
EdgeHighlightIndicatorInstaller.PEN_KEY
A
ResourceKey that will be used to find the Pen that will be used to draw the path of the edge. |
static ResourceKey |
EdgeFocusIndicatorInstaller.PEN_KEY
A
ResourceKey that will be used to find the Pen that will be used to draw the path of the edge. |
static ResourceKey |
RectangleIndicatorInstaller.SELECTION_TEMPLATE_KEY
A
ResourceKey that will be used to find the IVisualTemplate for drawing the selection indicator. |
static ResourceKey |
OrientedRectangleIndicatorInstaller.SELECTION_TEMPLATE_KEY
A
ResourceKey that will be used to find the IVisualTemplate for drawing the selection indicator. |
Modifier and Type | Method and Description |
---|---|
protected ResourceKey |
RectangleIndicatorInstaller.getTemplateKey()
Gets the
ResourceKey that will be used to find the IVisualTemplate to use for drawing the rectangle. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultPortCandidateDescriptor.setTemplate(ResourceKey resourceKey,
IVisualTemplate template)
Sets the
IVisualTemplate to use for the given ResourceKey by this instance. |
Constructor and Description |
---|
OrientedRectangleIndicatorInstaller(IOrientedRectangle fixedBounds,
ResourceKey templateKey)
Initializes a new instance of the
OrientedRectangleIndicatorInstaller class with fixed bounds and a
ResourceKey . |
RectangleIndicatorInstaller(IRectangle fixedBounds,
ResourceKey resourceKey)
Initializes a new instance of the
RectangleIndicatorInstaller class with fixed bounds and a
ResourceKey . |
Modifier and Type | Field and Description |
---|---|
static ResourceKey |
LabelPositionHandler.CANDIDATE_TEMPLATE_KEY
A
ResourceKey that will be used to find the IVisualTemplate that will be used to represent the
rectangular selection. |
static ResourceKey |
DefaultStripeInputVisualizationHelper.DRAG_SOURCE_STRIPE_TEMPLATE_KEY
A
ResourceKey that can be used to store a IVisualTemplate that can be used to create the visual that
will be used to draw the highlight for the current source of a stripe reparent operation. |
static ResourceKey |
DefaultStripeInputVisualizationHelper.DROP_TARGET_STRIPE_TEMPLATE_KEY
A
ResourceKey that can be used to store a IVisualTemplate that can be used to create the visual that
will be used to draw the highlight for the current target of a stripe reparent operation. |
static ResourceKey |
SnapLine.GRID_LINE_FIXED_LINE_KEY
Resource key which determines a grid snap line having a fixed visualization independent of the
SnapResult . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_DEFAULT_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.DEFAULT . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_DEFAULT_VARIANT2_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HHandleTypes.DEFAULT |
HandleTypes.VARIANT2 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_DEFAULT_VARIANT3_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.DEFAULT |
HandleTypes.VARIANT3 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_DEFAULT_VARIANT4_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.DEFAULT |
HandleTypes.VARIANT4 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_INVISIBLE_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.INVISIBLE . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_INVISIBLE_VARIANT2_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.INVISIBLE |
HandleTypes.VARIANT2 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_INVISIBLE_VARIANT3_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.INVISIBLE |
HandleTypes.VARIANT3 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_INVISIBLE_VARIANT4_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.INVISIBLE |
HandleTypes.VARIANT4 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_MOVE_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.MOVE . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_MOVE_VARIANT2_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.MOVE |
HandleTypes.VARIANT2 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_MOVE_VARIANT3_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.MOVE |
HandleTypes.VARIANT3 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_MOVE_VARIANT4_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.MOVE |
HandleTypes.VARIANT4 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_RESIZE_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.RESIZE . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_RESIZE_VARIANT2_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.RESIZE |
HandleTypes.VARIANT2 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_RESIZE_VARIANT3_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.RESIZE |
HandleTypes.VARIANT3 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_RESIZE_VARIANT4_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.RESIZE |
HandleTypes.VARIANT4 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_ROTATE_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.ROTATE . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_ROTATE_VARIANT2_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.ROTATE |
HandleTypes.VARIANT2 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_ROTATE_VARIANT3_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.ROTATE |
HandleTypes.VARIANT3 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_ROTATE_VARIANT4_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.ROTATE |
HandleTypes.VARIANT4 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_SHEAR_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.SHEAR . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_SHEAR_VARIANT2_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.SHEAR |
HandleTypes.VARIANT2 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_SHEAR_VARIANT3_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.SHEAR |
HandleTypes.VARIANT3 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_SHEAR_VARIANT4_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.SHEAR |
HandleTypes.VARIANT4 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_WARP_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.WARP . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_WARP_VARIANT2_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.WARP |
HandleTypes.VARIANT2 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_WARP_VARIANT3_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.WARP |
HandleTypes.VARIANT3 . |
static ResourceKey |
HandleInputMode.HANDLE_DRAWING_WARP_VARIANT4_KEY
A
ResourceKey that can be used by instances of the HandleInputMode to look up a IVisualTemplate
that will be used for the rendering of IHandle s of type HandleTypes.WARP |
HandleTypes.VARIANT4 . |
static ResourceKey |
LabelPositionHandler.HIGHLIGHT_TEMPLATE_KEY
A
ResourceKey that will be used to find the IVisualTemplate that will be used to represent the
rectangular selection. |
static ResourceKey |
MarqueeSelectionInputMode.MARQUEE_RECTANGLE_TEMPLATE_KEY
A
ResourceKey that can be used to store a IVisualTemplate that can be used to create the visual that
will be used to draw the marquee box. |
static ResourceKey |
DefaultStripeInputVisualizationHelper.RESIZE_STRIPE_TEMPLATE_KEY
A
ResourceKey that can be used to store a IVisualTemplate that can be used to create the visual that
will be used to draw the highlight for the stripe that is resized. |
static ResourceKey |
DefaultStripeInputVisualizationHelper.SELECTED_STRIPE_TEMPLATE_KEY
A
ResourceKey that can be used to store a IVisualTemplate that can be used to create the visual that
will be used to draw the highlight for the stripe that is selected. |
static ResourceKey |
SnapLine.SNAP_LINE_BLANK_VARIABLE_LINE_KEY
Resource key which determines a blank line between the
Coordinates and the snapped
coordinates. |
static ResourceKey |
SnapLine.SNAP_LINE_CENTER_BETWEEN_BOUNDS_KEY
Resource key which determines a snap line which lets an item snap in the center between the bounds of two other items.
|
static ResourceKey |
SnapLine.SNAP_LINE_CENTER_BETWEEN_CENTERS_KEY
Resource key which determines a snap line which lets an item snap in the center between the centers of two other items.
|
static ResourceKey |
SnapLine.SNAP_LINE_EDGE_SEGMENT_KEY
Resource key which determines a snap line with three special locations, for example the start, end and center of an edge
segment.
|
static ResourceKey |
SnapLine.SNAP_LINE_EQUAL_DISTANCE_BETWEEN_BOUNDS_KEY
Resource key which determines a snap line which lets an item snap if it has an equal distance to two other items.
|
static ResourceKey |
SnapLine.SNAP_LINE_EQUAL_DISTANCE_BETWEEN_CENTERS_KEY
Resource key which determines a snap line which lets an item snap if it's center has an equal distance to the centers'
of two other items.
|
static ResourceKey |
SnapLine.SNAP_LINE_EQUAL_HEIGHT_KEY
Resource key which determines the snapping of a resized item if it's new height is equal to another item.
|
static ResourceKey |
SnapLine.SNAP_LINE_EQUAL_WIDTH_KEY
Resource key which determines the snapping of a resized item if it's new width is equal to another item.
|
static ResourceKey |
SnapLine.SNAP_LINE_EXTENDED_VARIABLE_LINE_KEY
Resource key which determines a decorated line between the
Coordinates and the snapped
coordinates that is extended on both sides. |
static ResourceKey |
SnapLine.SNAP_LINE_FIXED_DISTANCE_KEY
Resource key which determines a snap line which lets an item snap in a defined distance to another graph item.
|
static ResourceKey |
SnapLine.SNAP_LINE_FIXED_LINE_KEY
Resource key which determines a snap line having a fixed visualization independent of the
SnapResult . |
static ResourceKey |
SnapLine.SNAP_LINE_PEN_KEY
Resource key which determines the
Pen used for the snap line visualization. |
static ResourceKey |
SnapLine.SNAP_LINE_VARIABLE_LINE_KEY
Resource key which determines a decorated snap line between the
Coordinates and the snapped
coordinates. |
static ResourceKey |
SnapLine.SNAP_TO_GRID_KEY
Resource key which determines the snapping of an item to a grid position.
|
static ResourceKey |
OverviewInputMode.VIEWPORT_TEMPLATE_KEY
A
ResourceKey that should yield a IVisualTemplate that will be used by this mode render the viewport. |
Modifier and Type | Method and Description |
---|---|
ResourceKey |
SnapLine.getResourceKey()
The resource key which determines the visual appearance of the snap line.
|
Constructor and Description |
---|
NodeBasedSnapLine(INode node,
SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
double from,
double to,
Object tag,
double weight)
Initializes a new instance of the
NodeBasedSnapLine class. |
NodeBasedSnapLine(INode node,
SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
Object tag,
double weight)
Initializes a new instance of the
NodeBasedSnapLine class. |
NodePairBasedSnapLine(INode firstNode,
INode secondNode,
SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
double from,
double to,
Object tag,
double weight)
Initializes a new instance of the
NodePairBasedSnapLine class. |
NodePairBasedSnapLine(INode firstNode,
INode secondNode,
SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
Object tag,
double weight)
Initializes a new instance of the
NodePairBasedSnapLine class. |
OrthogonalSnapLine(SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
double from,
double to,
Object tag,
double weight)
Creates a new snap line using the provided attributes.
|
OrthogonalSnapLine(SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
Object tag,
double weight)
Creates a new snap line using the provided attributes.
|
PointBasedSnapLine(IPoint point,
SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
double from,
double to,
Object tag,
double weight)
Initializes a new instance of the
PointBasedSnapLine class. |
PointBasedSnapLine(IPoint point,
SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
Object tag,
double weight)
Initializes a new instance of the
PointBasedSnapLine class. |
SnapLine(SnapLineSnapTypes snapType,
ResourceKey resourceKey,
PointD coordinates,
PointD from,
PointD to,
Object tag,
double weight)
Creates a new snap line using the provided attributes.
|