Package | com.yworks.graph.model |
Class | public class NodeDecorator |
Inheritance | NodeDecorator ItemDecorator Object |
ItemDecorator
that is specifically tailored for INode
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 | ||
focusPaintableDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IFocusPaintableInstaller
type for the type of items this instance has been created for. | ItemDecorator | ||
groupBoundsCalculatorDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IGroupBoundsCalculator
type for INodes. | NodeDecorator | ||
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 | ||
insetsProviderDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the INodeInsetsProvider
type for INodes. | NodeDecorator | ||
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 | ||
nodeReshapeSnapResultProvider : LookupDecorator [read-only]
Gets a LookupDecorator that decorates the INodeReshapeSnapResultProvider for the
INodes this instance has been created for. | NodeDecorator | ||
nodeSnapResultProviderDecorator : LookupDecorator [read-only]
Gets a LookupDecorator that decorates the INodeSnapResultProvider for the
INodes this instance has been created for. | NodeDecorator | ||
obstacleProviderDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IObstacleProvider
type for INodes. | NodeDecorator | ||
portCandidateProviderDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IPortCandidateProvider
type for INodes. | NodeDecorator | ||
positionHandlerDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IPositionHandler
type for the type of items this instance has been created for. | ItemDecorator | ||
reshapeHandleProviderDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IReshapeHandleProvider
type for INodes. | NodeDecorator | ||
reshapeHandlerDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IReshapeHandler
type for INodes. | NodeDecorator | ||
selectionDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the ISelectionPaintable
type for the type of items this instance has been created for. | ItemDecorator | ||
shapeGeometryDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the IShapeGeometry
type for INodes. | NodeDecorator | ||
sizeConstraintsProviderDecorator : LookupDecorator [read-only]
The LookupDecorator that decorates the ISizeConstraintProvider
type for INodes. | NodeDecorator | ||
snapLineProviderDecorator : LookupDecorator [read-only]
Gets a LookupDecorator that decorates the ISnapLineProvider for the
INodes this instance has been created for. | NodeDecorator |
Method | Defined By | ||
---|---|---|---|
NodeDecorator(decorator:ILookupDecorator)
Creates a new instance that uses the given decorator. | NodeDecorator |
groupBoundsCalculatorDecorator | property |
groupBoundsCalculatorDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the IGroupBoundsCalculator
type for INode
s.
public function get groupBoundsCalculatorDecorator():LookupDecorator
insetsProviderDecorator | property |
insetsProviderDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the INodeInsetsProvider
type for INode
s.
public function get insetsProviderDecorator():LookupDecorator
nodeReshapeSnapResultProvider | property |
nodeReshapeSnapResultProvider:LookupDecorator
[read-only]
Gets a LookupDecorator
that decorates the INodeReshapeSnapResultProvider
for the
INode
s this instance has been created for.
Custom INodeReshapeSnapResultProvider
implementations can be used to provide custom
SnapResult
s based on the INode
s this instance has been created for.
This could e.g. be a SnapResult
describing that the top left corner of the node
wants to snap to a grid point.
This interface is mainly used by the NodeReshapeHandle
to collect SnapResult
s
during a resize gesture for the node.
This is a convenient alternative to the direct usage of the ILookupDecorator
that is provided by the IGraph
's lookup
.
public function get nodeReshapeSnapResultProvider():LookupDecorator
See also
nodeSnapResultProviderDecorator | property |
nodeSnapResultProviderDecorator:LookupDecorator
[read-only]
Gets a LookupDecorator
that decorates the INodeSnapResultProvider
for the
INode
s this instance has been created for.
Custom ISnapLineProvider
implementations can be used to provide custom
SnapResult
s based on the INode
s this instance has been created for.
This could e.g. be a SnapResult
describing that the top left corner of the node
wants to snap to a grid point.
This interface is mainly used by the NodePositionHandler
to collect SnapResult
s
during a drag gesture for the node.
This is a convenient alternative to the direct usage of the ILookupDecorator
that is provided by the IGraph
's lookup
.
public function get nodeSnapResultProviderDecorator():LookupDecorator
See also
obstacleProviderDecorator | property |
obstacleProviderDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the IObstacleProvider
type for INode
s.
public function get obstacleProviderDecorator():LookupDecorator
portCandidateProviderDecorator | property |
portCandidateProviderDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the IPortCandidateProvider
type for INode
s.
public function get portCandidateProviderDecorator():LookupDecorator
reshapeHandleProviderDecorator | property |
reshapeHandleProviderDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the IReshapeHandleProvider
type for INode
s.
public function get reshapeHandleProviderDecorator():LookupDecorator
reshapeHandlerDecorator | property |
reshapeHandlerDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the IReshapeHandler
type for INode
s.
public function get reshapeHandlerDecorator():LookupDecorator
shapeGeometryDecorator | property |
shapeGeometryDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the IShapeGeometry
type for INode
s.
public function get shapeGeometryDecorator():LookupDecorator
sizeConstraintsProviderDecorator | property |
sizeConstraintsProviderDecorator:LookupDecorator
[read-only]
The LookupDecorator
that decorates the ISizeConstraintProvider
type for INode
s.
public function get sizeConstraintsProviderDecorator():LookupDecorator
snapLineProviderDecorator | property |
snapLineProviderDecorator:LookupDecorator
[read-only]
Gets a LookupDecorator
that decorates the ISnapLineProvider
for the
INode
s this instance has been created for.
Custom ISnapLineProvider
implementations can be used to provide custom
SnapLine
s based on the INode
s this instance has been created for.
This could e.g. be a horizontal SnapLine
at the vertical center of the node to which
other nodes should snap with their top border.
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
NodeDecorator | () | Constructor |
public function NodeDecorator(decorator:ILookupDecorator)
Creates a new instance that uses the given decorator.
Parametersdecorator:ILookupDecorator — The decorator to use.
|