| Package | com.yworks.graph.model |
| Class | public class PortDecorator |
| Inheritance | PortDecorator ItemDecorator Object |
ItemDecorator that is specifically tailored for IPorts.
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | 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 | |
| edgeIntersectionDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IHandle
type for IBends. | PortDecorator | ||
![]() | focusPaintableDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IFocusPaintableInstaller
type for the type of items this instance has been created for. | ItemDecorator | |
| handleDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IHandle
type for IBends. | PortDecorator | ||
![]() | 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 | |
| portSnapResultProviderDecorator : LookupDecorator [read-only]
Gets a LookupDecorator that decorates the IPortSnapResultProvider
for the IPorts this instance has been created for. | PortDecorator | ||
![]() | 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
IPorts this instance has been created for. | PortDecorator | ||
| Method | Defined By | ||
|---|---|---|---|
PortDecorator(decorator:ILookupDecorator)
Creates a new instance that uses the given decorator. | PortDecorator | ||
| edgeIntersectionDecorator | property |
edgeIntersectionDecorator:LookupDecorator [read-only]
The LookupDecorator that decorates the IHandle
type for IBends.
public function get edgeIntersectionDecorator():LookupDecorator| handleDecorator | property |
handleDecorator:LookupDecorator [read-only]
The LookupDecorator that decorates the IHandle
type for IBends.
public function get handleDecorator():LookupDecorator| portSnapResultProviderDecorator | property |
portSnapResultProviderDecorator:LookupDecorator [read-only]
Gets a LookupDecorator that decorates the IPortSnapResultProvider
for the IPorts this instance has been created for.
Custom IPortSnapResultProvider implementations can be used to provide custom
SnapResults based on the IPorts this instance has been created for.
This could e.g. be a SnapResult describing that the port wants to snap to a grid point.
This interface is mainly used by the PortLocationModelParameterHandle to collect SnapResults
during a drag gesture for the port.
This is a convenient alternative to the direct usage of the ILookupDecorator
that is provided by the IGraph's lookup.
public function get portSnapResultProviderDecorator():LookupDecoratorSee also
| snapLineProviderDecorator | property |
snapLineProviderDecorator:LookupDecorator [read-only]
Gets a LookupDecorator that decorates the ISnapLineProvider for the
IPorts this instance has been created for.
Custom ISnapLineProvider implementations can be used to provide custom
SnapLines based on the IPorts this instance has been created for.
This could e.g. be a SnapLine with a horizontal or vertical offset to the port's location.
This interface is mainly used by the GraphSnapContext to collect all available
SnapLines.
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
| PortDecorator | () | Constructor |
public function PortDecorator(decorator:ILookupDecorator)Creates a new instance that uses the given decorator.
Parametersdecorator:ILookupDecorator — The decorator to use.
|