LinkControlPolicy mixin

Optimized implementation of LinkPolicy.

Adding new joints and showing joints on link tap.

It uses onLinkTapUp, onLinkScaleStart, onLinkScaleUpdate, onLinkLongPressStart, onLinkLongPressMoveUpdate. Feel free to override other functions from LinkPolicy and add them to PolicySet.

Implemented types

Properties

canvasReader ↔ CanvasReader
Allows you to read all data from diagram/canvas model.
getter/setter pairinherited
canvasWriter ↔ CanvasWriter
Allows you to change diagram/canvas model data.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

initializePolicy(CanvasReader canvasReader, CanvasWriter canvasWriter) → void
Initialize policy in DiagramEditorContext.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onLinkLongPress(String linkId) → void
inherited
onLinkLongPressEnd(String linkId, LongPressEndDetails details) → void
inherited
onLinkLongPressMoveUpdate(String linkId, LongPressMoveUpdateDetails details) → void
override
onLinkLongPressStart(String linkId, LongPressStartDetails details) → void
override
onLinkLongPressUp(String linkId) → void
inherited
onLinkPointerSignal(String linkId, PointerSignalEvent event) → void
inherited
onLinkScaleEnd(String linkId, ScaleEndDetails details) → void
inherited
onLinkScaleStart(String linkId, ScaleStartDetails details) → void
override
onLinkScaleUpdate(String linkId, ScaleUpdateDetails details) → void
override
onLinkTap(String linkId) → void
inherited
onLinkTapCancel(String linkId) → void
inherited
onLinkTapDown(String linkId, TapDownDetails details) → void
inherited
onLinkTapUp(String linkId, TapUpDetails details) → void
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited