Package | com.yworks.graph.model |
Class | public class BendDecorator |
Inheritance | BendDecorator ItemDecorator Object |
ItemDecorator
that is specifically tailored for IBend
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 | ||
bendSnapResultProviderDecorator : LookupDecorator [read-only]
Gets a LookupDecorator that decorates the IBendSnapResultProvider
for the IBends this instance has been created for. | BendDecorator | ||
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 | ||
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. | BendDecorator | ||
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 | ||
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 |
Method | Defined By | ||
---|---|---|---|
BendDecorator(decorator:ILookupDecorator)
Creates a new instance that uses the given decorator. | BendDecorator |
bendSnapResultProviderDecorator | property |
bendSnapResultProviderDecorator:LookupDecorator
[read-only]
Gets a LookupDecorator
that decorates the IBendSnapResultProvider
for the IBend
s this instance has been created for.
Custom IBendSnapResultProvider
implementations can be used to provide custom
SnapResult
s based on the IBend
s this instance has been created for.
This could e.g. be a SnapResult
describing that the bend wants to snap vertically to the
top border of a node.
This interface is mainly used by the BendHandle
to collect SnapResult
s
during a drag gesture for the bend.
This is a convenient alternative to the direct usage of the ILookupDecorator
that is provided by the IGraph
's lookup
.
public function get bendSnapResultProviderDecorator():LookupDecorator
See also
handleDecorator | property |
handleDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the IHandle
type for IBend
s.
The IHandle
manages the dragging behavior as well as the cursor
and the visual appearance of a bend.
public function get handleDecorator():LookupDecorator
See also
BendDecorator | () | Constructor |
public function BendDecorator(decorator:ILookupDecorator)
Creates a new instance that uses the given decorator.
Parametersdecorator:ILookupDecorator — The decorator to use.
|