LinkJointControlPolicy mixin
Optimized implementation of LinkJointPolicy.
Moving and removing link joints.
It uses onLinkJointLongPress, onLinkJointScaleUpdate. Feel free to override other functions from LinkJointPolicy 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
-
onLinkJointLongPress(
int jointIndex, String linkId) → void -
override
-
onLinkJointLongPressEnd(
int jointIndex, String linkId, LongPressEndDetails details) → void -
inherited
-
onLinkJointLongPressMoveUpdate(
int jointIndex, String linkId, LongPressMoveUpdateDetails details) → void -
inherited
-
onLinkJointLongPressStart(
int jointIndex, String linkId, LongPressStartDetails details) → void -
inherited
-
onLinkJointLongPressUp(
int jointIndex, String linkId) → void -
inherited
-
onLinkJointScaleEnd(
int jointIndex, String linkId, ScaleEndDetails details) → void -
inherited
-
onLinkJointScaleStart(
int jointIndex, String linkId, ScaleStartDetails details) → void -
inherited
-
onLinkJointScaleUpdate(
int jointIndex, String linkId, ScaleUpdateDetails details) → void -
override
-
onLinkJointTap(
int jointIndex, String linkId) → void -
inherited
-
onLinkJointTapCancel(
int jointIndex, String linkId) → void -
inherited
-
onLinkJointTapDown(
int jointIndex, String linkId, TapDownDetails details) → void -
inherited
-
onLinkJointTapUp(
int jointIndex, String linkId, TapUpDetails details) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited