| Package | com.yworks.graph.model |
| Class | public class EdgeDecorator |
| Inheritance | EdgeDecorator ItemDecorator Object |
ItemDecorator that is specifically tailored for IEdges.
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 IEdges.
The IBendCreator is queried by the CreateBendInputMode
to create a new IBend.
public function get bendCreatorDecorator():LookupDecoratorSee also
| bendSelectionTesterDecorator | property |
bendSelectionTesterDecorator:LookupDecorator [read-only]
The LookupDecorator that decorates the IBendSelectionTester
type for IEdges.
The IBendSelectionTester is used by the GraphEditorInputMode
and the CreateBendInputMode to find bends at a given location.
public function get bendSelectionTesterDecorator():LookupDecoratorSee also
| edgePortCandidateProviderDecorator | property |
edgePortCandidateProviderDecorator:LookupDecorator [read-only]
The LookupDecorator that decorates the IEdgePortCandidateProvider
type for IEdges.
The IEdgePortCandidateProvider is queried to return alternative
IPortCandidates for an existing edge.
public function get edgePortCandidateProviderDecorator():LookupDecoratorSee also
| edgePortHandleProviderDecorator | property |
edgePortHandleProviderDecorator:LookupDecorator [read-only]
Gets a LookupDecorator that decorates the IEdgePortHandleProvider
type for the IEdges 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():LookupDecoratorSee also
| edgeSnapResultProviderDecorator | property |
edgeSnapResultProviderDecorator:LookupDecorator [read-only]
Gets a LookupDecorator that decorates the IEdgeSnapResultProvider type for the
IEdges 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():LookupDecoratorSee also
| orthogonalEdgeHelperDecorator | property |
orthogonalEdgeHelperDecorator:LookupDecorator [read-only]
Gets a LookupDecorator that decorates the IOrthogonalEdgeHelper
type for the IEdges 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():LookupDecoratorSee also
| snapLineProviderDecorator | property |
snapLineProviderDecorator:LookupDecorator [read-only]
Gets a LookupDecorator that decorates the ISnapLineProvider for the
IEdges this instance has been created for.
Custom ISnapLineProvider implementations can be used to provide custom SnapLines
based on the IEdges 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
SnapLines 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():LookupDecoratorSee also
| EdgeDecorator | () | Constructor |
public function EdgeDecorator(decorator:ILookupDecorator)Creates a new instance that uses the given decorator.
Parametersdecorator:ILookupDecorator — The decorator to use.
|