ComponentPolicy mixin

Allows you to define the component behaviour on any gesture registered by the Component.

Mixin Applications

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
onComponentLongPress(String componentId) → void
onComponentLongPressEnd(String componentId, LongPressEndDetails details) → void
onComponentLongPressMoveUpdate(String componentId, LongPressMoveUpdateDetails details) → void
onComponentLongPressStart(String componentId, LongPressStartDetails details) → void
onComponentLongPressUp(String componentId) → void
onComponentPointerSignal(String componentId, PointerSignalEvent event) → void
onComponentScaleEnd(String componentId, ScaleEndDetails details) → void
onComponentScaleStart(String componentId, ScaleStartDetails details) → void
onComponentScaleUpdate(String componentId, ScaleUpdateDetails details) → void
onComponentTap(String componentId) → void
onComponentTapCancel(String componentId) → void
onComponentTapDown(String componentId, TapDownDetails details) → void
onComponentTapUp(String componentId, TapUpDetails details) → void
toString() String
A string representation of this object.
inherited

Operators

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