Package | com.yworks.graph.model |
Class | public class PortDecorator |
Inheritance | PortDecorator ItemDecorator Object |
ItemDecorator
that is specifically tailored for IPort
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 | ||
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 IBend
s.
public function get edgeIntersectionDecorator():LookupDecorator
handleDecorator | property |
handleDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the IHandle
type for IBend
s.
public function get handleDecorator():LookupDecorator
portSnapResultProviderDecorator | property |
portSnapResultProviderDecorator:LookupDecorator
[read-only]
Gets a LookupDecorator
that decorates the IPortSnapResultProvider
for the IPort
s this instance has been created for.
Custom IPortSnapResultProvider
implementations can be used to provide custom
SnapResult
s based on the IPort
s 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 SnapResult
s
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():LookupDecorator
See also
snapLineProviderDecorator | property |
snapLineProviderDecorator:LookupDecorator
[read-only]
Gets a LookupDecorator
that decorates the ISnapLineProvider
for the
IPort
s this instance has been created for.
Custom ISnapLineProvider
implementations can be used to provide custom
SnapLine
s based on the IPort
s 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
SnapLine
s.
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
PortDecorator | () | Constructor |
public function PortDecorator(decorator:ILookupDecorator)
Creates a new instance that uses the given decorator.
Parametersdecorator:ILookupDecorator — The decorator to use.
|