Package | com.yworks.graph.model |
Class | public class EdgeDecorator |
Inheritance | EdgeDecorator ItemDecorator Object |
ItemDecorator
that is specifically tailored for IEdge
s.
See also
Property | Defined By | ||
---|---|---|---|
actionButtonProviderDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IActionButtonProvider
type for the type of items this instance has been created for. | ItemDecorator | ||
bendCreatorDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IBendCreator
type for IEdges. | EdgeDecorator | ||
bendSelectionTesterDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IBendSelectionTester
type for IEdges. | EdgeDecorator | ||
clipboardHelperDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IClipboardHelper
type for the type of items this instance has been created for. | ItemDecorator | ||
decorator : ILookupDecorator
The decorator to use. | ItemDecorator | ||
edgePortCandidateProviderDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IEdgePortCandidateProvider
type for IEdges. | EdgeDecorator | ||
edgePortHandleProviderDecorator : LookupDecorator [read-only]
Gets a LookupDecorator that decorates the IEdgePortHandleProvider
type for the IEdges of the graph this instance has been created for. | EdgeDecorator | ||
edgeSnapResultProviderDecorator : LookupDecorator [read-only]
Gets a LookupDecorator that decorates the IEdgeSnapResultProvider type for the
IEdges of the graph this instance has been created for. | EdgeDecorator | ||
focusPaintableDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IFocusPaintableInstaller
type for the type of items this instance has been created for. | ItemDecorator | ||
handleProviderDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IHandleProvider
type for the type of items this instance has been created for. | ItemDecorator | ||
highlightDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IHighlightPaintableInstaller
type for the type of items this instance has been created for. | ItemDecorator | ||
marqueeTestableDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IMarqueeTestable
type for the type of items this instance has been created for. | ItemDecorator | ||
mementoSupportDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IMementoSupport
type for the type of items this instance has been created for. | ItemDecorator | ||
orthogonalEdgeHelperDecorator : LookupDecorator [read-only]
Gets a LookupDecorator that decorates the IOrthogonalEdgeHelper
type for the IEdges of the graph this instance has been created for. | EdgeDecorator | ||
positionHandlerDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IPositionHandler
type for the type of items this instance has been created for. | ItemDecorator | ||
selectionDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the ISelectionPaintable
type for the type of items this instance has been created for. | ItemDecorator | ||
snapLineProviderDecorator : LookupDecorator [read-only]
Gets a LookupDecorator that decorates the ISnapLineProvider for the
IEdges this instance has been created for. | EdgeDecorator |
Method | Defined By | ||
---|---|---|---|
EdgeDecorator(decorator:ILookupDecorator)
Creates a new instance that uses the given decorator. | EdgeDecorator |
bendCreatorDecorator | property |
bendCreatorDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the IBendCreator
type for IEdge
s.
The IBendCreator
is queried by the CreateBendInputMode
to create a new IBend
.
public function get bendCreatorDecorator():LookupDecorator
See also
bendSelectionTesterDecorator | property |
bendSelectionTesterDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the IBendSelectionTester
type for IEdge
s.
The IBendSelectionTester
is used by the GraphEditorInputMode
and the CreateBendInputMode
to find bends at a given location.
public function get bendSelectionTesterDecorator():LookupDecorator
See also
edgePortCandidateProviderDecorator | property |
edgePortCandidateProviderDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the IEdgePortCandidateProvider
type for IEdge
s.
The IEdgePortCandidateProvider
is queried to return alternative
IPortCandidates
for an existing edge.
public function get edgePortCandidateProviderDecorator():LookupDecorator
See also
edgePortHandleProviderDecorator | property |
edgePortHandleProviderDecorator:LookupDecorator
[read-only]
Gets a LookupDecorator
that decorates the IEdgePortHandleProvider
type for the IEdge
s of the graph this instance has been created for.
Custom IEdgePortHandleProvider
implementations can be used to provide interactive draggable
handles for the source and target end points of an edge.
This interface is mainly used by the HandleInputMode
in the GraphEditorInputMode
and by the implementations that work with OrthogonalEdgeEditingContext
.
Implementations my decide, e.g. whether to yield IHandle
implementations that either move the
edge to another port (-candidate) using IGraph.setPorts
or whether to move the port the edge is
currently connected to itself, instead.
This is a convenient alternative to the direct usage of the ILookupDecororator
that is provided
by the IGraph
's lookup
public function get edgePortHandleProviderDecorator():LookupDecorator
See also
edgeSnapResultProviderDecorator | property |
edgeSnapResultProviderDecorator:LookupDecorator
[read-only]
Gets a LookupDecorator
that decorates the IEdgeSnapResultProvider
type for the
IEdge
s of the graph this instance has been created for.
Custom IEdgeSnapResultProvider
implementations can be used to change the snapping behavior
of edges while they are being moved in the context of a GraphSnapContext
.
This is a convenient alternative to the direct usage of the ILookupDecorator
that is provided by the IGraph
's lookup
.
public function get edgeSnapResultProviderDecorator():LookupDecorator
See also
orthogonalEdgeHelperDecorator | property |
orthogonalEdgeHelperDecorator:LookupDecorator
[read-only]
Gets a LookupDecorator
that decorates the IOrthogonalEdgeHelper
type for the IEdge
s of the graph this instance has been created for.
Custom IOrthogonalEdgeHelper
implementations can be used to change the orthogonal
edge editing behavior in the context of OrthogonalEdgeEditingContext
.
This is a convenient alternative to the direct usage of the ILookupDecorator
that is provided by the IGraph
's lookup
.
public function get orthogonalEdgeHelperDecorator():LookupDecorator
See also
snapLineProviderDecorator | property |
snapLineProviderDecorator:LookupDecorator
[read-only]
Gets a LookupDecorator
that decorates the ISnapLineProvider
for the
IEdge
s this instance has been created for.
Custom ISnapLineProvider
implementations can be used to provide custom SnapLine
s
based on the IEdge
s this instance has been created for.
This could e.g. be a horizontal SnapLine
vertically centered between two horizontal
segments of one of these edges.
This interface is mainly used by the GraphSnapContext
to collect all available
SnapLine
s of orthogonal edge segments.
This is a convenient alternative to the direct usage of the ILookupDecorator
that is provided by the IGraph
's lookup
.
public function get snapLineProviderDecorator():LookupDecorator
See also
EdgeDecorator | () | Constructor |
public function EdgeDecorator(decorator:ILookupDecorator)
Creates a new instance that uses the given decorator.
Parametersdecorator:ILookupDecorator — The decorator to use.
|