Packagecom.yworks.graph.model
Classpublic class BendDecorator
InheritanceBendDecorator Inheritance ItemDecorator Inheritance Object

A subclass of the ItemDecorator that is specifically tailored for IBends.

See also

ItemDecorator


Public Properties
 PropertyDefined By
 InheritedactionButtonProviderDecorator : 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
 InheritedclipboardHelperDecorator : LookupDecorator
[read-only] The LookupDecorator that decorates the IClipboardHelper type for the type of items this instance has been created for.
ItemDecorator
 Inheriteddecorator : ILookupDecorator
The decorator to use.
ItemDecorator
 InheritedfocusPaintableDecorator : 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
 InheritedhandleProviderDecorator : LookupDecorator
[read-only] The LookupDecorator that decorates the IHandleProvider type for the type of items this instance has been created for.
ItemDecorator
 InheritedhighlightDecorator : LookupDecorator
[read-only] The LookupDecorator that decorates the IHighlightPaintableInstaller type for the type of items this instance has been created for.
ItemDecorator
 InheritedmarqueeTestableDecorator : LookupDecorator
[read-only] The LookupDecorator that decorates the IMarqueeTestable type for the type of items this instance has been created for.
ItemDecorator
 InheritedmementoSupportDecorator : LookupDecorator
[read-only] The LookupDecorator that decorates the IMementoSupport type for the type of items this instance has been created for.
ItemDecorator
 InheritedpositionHandlerDecorator : LookupDecorator
[read-only] The LookupDecorator that decorates the IPositionHandler type for the type of items this instance has been created for.
ItemDecorator
 InheritedselectionDecorator : LookupDecorator
[read-only] The LookupDecorator that decorates the ISelectionPaintable type for the type of items this instance has been created for.
ItemDecorator
Public Methods
 MethodDefined By
  
Creates a new instance that uses the given decorator.
BendDecorator
Property Detail
bendSnapResultProviderDecoratorproperty
bendSnapResultProviderDecorator:LookupDecorator  [read-only]

Gets a LookupDecorator that decorates the IBendSnapResultProvider for the IBends this instance has been created for. Custom IBendSnapResultProvider implementations can be used to provide custom SnapResults based on the IBends 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 SnapResults 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.


Implementation
    public function get bendSnapResultProviderDecorator():LookupDecorator

See also

IBendSnapResultProvider
SnapResult
BendHandle
handleDecoratorproperty 
handleDecorator:LookupDecorator  [read-only]

The LookupDecorator that decorates the IHandle type for IBends.

The IHandle manages the dragging behavior as well as the cursor and the visual appearance of a bend.


Implementation
    public function get handleDecorator():LookupDecorator

See also

Constructor Detail
BendDecorator()Constructor
public function BendDecorator(decorator:ILookupDecorator)

Creates a new instance that uses the given decorator.

Parameters
decorator:ILookupDecorator — The decorator to use.