Class SystemEdgeConnector<TEdge>
SystemEdgeConnector handles the events of edges in the graph. Implements the EdgeConnector
Inherited Members
Namespace: Mechatronics.SystemGraph
Syntax
public class SystemEdgeConnector<TEdge> : EdgeConnector, IManipulator where TEdge : SystemEdge, new()
Type Parameters
| Name | Description |
|---|---|
| TEdge | The type of the t edge. |
Constructors
SystemEdgeConnector(IEdgeConnectorListener)
Initializes a new instance of the SystemEdgeConnector<TEdge> class.
Declaration
public SystemEdgeConnector(IEdgeConnectorListener listener)
Parameters
| Type | Name | Description |
|---|---|---|
| IEdgeConnectorListener | listener | The listener. |
Properties
Disable
Gets or sets a value indicating whether this SystemEdgeConnector<TEdge> is disable.
Declaration
public bool Disable { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
edgeDragHelper
Reference to the edge drag helper.
Declaration
public override EdgeDragHelper edgeDragHelper { get; }
Property Value
| Type | Description |
|---|---|
| EdgeDragHelper | The edge drag helper. |
Overrides
Methods
OnMouseDown(MouseDownEvent)
Called when [mouse down].
Declaration
protected virtual void OnMouseDown(MouseDownEvent e)
Parameters
| Type | Name | Description |
|---|---|---|
| MouseDownEvent | e | The e. |
OnMouseMove(MouseMoveEvent)
Called when [mouse move].
Declaration
protected virtual void OnMouseMove(MouseMoveEvent e)
Parameters
| Type | Name | Description |
|---|---|---|
| MouseMoveEvent | e | The e. |
OnMouseUp(MouseUpEvent)
Called when [mouse up].
Declaration
protected virtual void OnMouseUp(MouseUpEvent e)
Parameters
| Type | Name | Description |
|---|---|---|
| MouseUpEvent | e | The e. |
RegisterCallbacksOnTarget()
Called to register event callbacks on the target element.
Declaration
protected override void RegisterCallbacksOnTarget()
Overrides
UnregisterCallbacksFromTarget()
Called to unregister event callbacks from the target element.
Declaration
protected override void UnregisterCallbacksFromTarget()