Machinations

Public Member Functions | Protected Member Functions | Properties | List of all members
Machinations.GUI.SimlinkView Class Reference

view class for simlink. Has reference for view object it represrents More...

Inheritance diagram for Machinations.GUI.SimlinkView:

## Public Member Functions

| SimlinkView (INodeView< MachinationsNode > realView, SimlinkModel model)
override void | ColorView (Brush brush)
override GraphElement | GetModelElement ()
override void | AddConnection (IConnectionView connectionView, bool start, bool withModel=true)
override void | RemoveConnection (IConnectionView connection, bool start)
override void | Dispose ()
SimlinkView | CreateSimlinkView ()
Public Member Functions inherited from Machinations.GUI.PointObjectView
virtual List< UIElement > | GetAllUiElements ()
Point | LinePosition (Point beforeLast)
virtual void | Move (double deltaX, double deltaY)
Brush | GetBrushForSelection ()

## Protected Member Functions

override Brush | GetBrushForNormalSelection ()
Protected Member Functions inherited from Machinations.GUI.PointObjectView
| PointObjectView ()
virtual void | SetMainUiElementPosition (Point value)
virtual void | UpdateLabelPosition ()

## Properties

override Point | Position`[get, set]`
SimlinkModel | Model`[get]`
override string | Label`[get, set]`
override Color | BaseColor`[get]`
override ViewSelectionMode | Selected`[set]`
override ViewHighlightMode | Highlighted`[set]`
INodeView< MachinationsNode > | RealView`[get]`
override int | Radius`[get]`
Properties inherited from Machinations.GUI.PointObjectView
virtual Point | Position`[get, set]`
UIElement | UiElement`[get]`
virtual string | Label`[get, set]`
virtual Color | BaseColor`[get, set]`
virtual ViewSelectionMode | Selected`[get, set]`
virtual ViewHighlightMode | Highlighted`[get, set]`
virtual int | Radius`[get]`

## Additional Inherited Members

Protected Attributes inherited from Machinations.GUI.PointObjectView
Point | m_position
List< IConnectionView > | m_inputConnections
List< IConnectionView > | m_outputConnections
readonly TextBlock | m_textBlock
UIElement | m_uiElement
| defining shape of an object,each type of object have to have its own More...
ViewSelectionMode | m_selected
ViewHighlightMode | m_highlighted
Events inherited from Machinations.GUI.PointObjectView
Action | OnLoaded

## Detailed Description

view class for simlink. Has reference for view object it represrents

## Constructor & Destructor Documentation

## ◆ SimlinkView()

Machinations.GUI.SimlinkView.SimlinkView | ( | INodeView< MachinationsNode > | realView,
|  | SimlinkModel | model
| ) |  |

## Member Function Documentation

## ◆ AddConnection()

override void Machinations.GUI.SimlinkView.AddConnection | ( | IConnectionView | connectionView,
|  | bool | start,
|  | bool | withModel = `true`
| ) |  |

virtual

Reimplemented from Machinations.GUI.PointObjectView.

## ◆ ColorView()

override void Machinations.GUI.SimlinkView.ColorView | ( | Brush | brush | ) |

virtual

Reimplemented from Machinations.GUI.PointObjectView.

## ◆ CreateSimlinkView()

SimlinkView Machinations.GUI.SimlinkView.CreateSimlinkView | ( |  | ) |

## ◆ Dispose()

override void Machinations.GUI.SimlinkView.Dispose | ( |  | ) |

virtual

Reimplemented from Machinations.GUI.PointObjectView.

## ◆ GetBrushForNormalSelection()

override Brush Machinations.GUI.SimlinkView.GetBrushForNormalSelection | ( |  | ) |

protected virtual

Reimplemented from Machinations.GUI.PointObjectView.

## ◆ GetModelElement()

override GraphElement Machinations.GUI.SimlinkView.GetModelElement | ( |  | ) |

virtual

Implements Machinations.GUI.PointObjectView.

## ◆ RemoveConnection()

override void Machinations.GUI.SimlinkView.RemoveConnection | ( | IConnectionView | connection,
|  | bool | start
| ) |  |

virtual

Reimplemented from Machinations.GUI.PointObjectView.

## Property Documentation

## ◆ BaseColor

override Color Machinations.GUI.SimlinkView.BaseColor

get

## ◆ Highlighted

override ViewHighlightMode Machinations.GUI.SimlinkView.Highlighted

set

## ◆ Label

override string Machinations.GUI.SimlinkView.Label

get set

## ◆ Model

SimlinkModel Machinations.GUI.SimlinkView.Model

get

## ◆ Position

override Point Machinations.GUI.SimlinkView.Position

get set

## ◆ Radius

override int Machinations.GUI.SimlinkView.Radius

get

## ◆ RealView

INodeView<MachinationsNode> Machinations.GUI.SimlinkView.RealView

get

## ◆ Selected

override ViewSelectionMode Machinations.GUI.SimlinkView.Selected

set

The documentation for this class was generated from the following file:

- GUI/SimlinkView.cs