Machinations

Public Member Functions | Protected Member Functions | Protected Attributes | Properties | Events | List of all members
Machinations.GUI.PointObjectView Class Referenceabstract

ancestor of node class and classes, whitch views are behaving similary to nodeViews, but which dont have a machinations model More...

Inheritance diagram for Machinations.GUI.PointObjectView:

## Public Member Functions

virtual List< UIElement > | GetAllUiElements ()
Point | LinePosition (Point beforeLast)
abstract GraphElement | GetModelElement ()
virtual void | AddConnection (IConnectionView connectionView, bool start, bool withModel=true)
virtual void | RemoveConnection (IConnectionView connection, bool start)
virtual void | Move (double deltaX, double deltaY)
virtual void | ColorView (Brush brush)
Brush | GetBrushForSelection ()
virtual void | Dispose ()

## Protected Member Functions

| PointObjectView ()
virtual void | SetMainUiElementPosition (Point value)
virtual void | UpdateLabelPosition ()
virtual Brush | GetBrushForNormalSelection ()

## Protected Attributes

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

## Properties

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]`

## Events

Action | OnLoaded

## Detailed Description

ancestor of node class and classes, whitch views are behaving similary to nodeViews, but which dont have a machinations model

## Constructor & Destructor Documentation

## ◆ PointObjectView()

Machinations.GUI.PointObjectView.PointObjectView | ( |  | ) |

protected

## Member Function Documentation

## ◆ AddConnection()

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

virtual

Reimplemented in Machinations.GUI.UserComponentView, Machinations.GUI.NodeView< T >, Machinations.GUI.SimlinkView, and Machinations.GUI.InOutView.

## ◆ ColorView()

virtual void Machinations.GUI.PointObjectView.ColorView | ( | Brush | brush | ) |

virtual

Reimplemented in Machinations.GUI.NodeView< T >, Machinations.GUI.UserComponentView, Machinations.GUI.SimlinkView, and Machinations.GUI.InOutView.

## ◆ Dispose()

virtual void Machinations.GUI.PointObjectView.Dispose | ( |  | ) |

virtual

Reimplemented in Machinations.GUI.NodeView< T >, Machinations.GUI.UserComponentView, Machinations.GUI.SimlinkView, Machinations.GUI.InOutView, and Machinations.GUI.InOutInnerView.

## ◆ GetAllUiElements()

virtual List<UIElement> Machinations.GUI.PointObjectView.GetAllUiElements | ( |  | ) |

virtual

Reimplemented in Machinations.GUI.NodeView< T >.

## ◆ GetBrushForNormalSelection()

virtual Brush Machinations.GUI.PointObjectView.GetBrushForNormalSelection | ( |  | ) |

protected virtual

Reimplemented in Machinations.GUI.NodeView< T >, Machinations.GUI.SimlinkView, and Machinations.GUI.UserComponentView.

## ◆ GetBrushForSelection()

Brush Machinations.GUI.PointObjectView.GetBrushForSelection | ( |  | ) |

## ◆ GetModelElement()

abstract GraphElement Machinations.GUI.PointObjectView.GetModelElement | ( |  | ) |

pure virtual

Implemented in Machinations.GUI.NodeView< T >, Machinations.GUI.SimlinkView, Machinations.GUI.UserComponentView, and Machinations.GUI.InOutView.

## ◆ LinePosition()

Point Machinations.GUI.PointObjectView.LinePosition | ( | Point | beforeLast | ) |

## ◆ Move()

virtual void Machinations.GUI.PointObjectView.Move | ( | double | deltaX,
|  | double | deltaY
| ) |  |

virtual

Reimplemented in Machinations.GUI.InOutOuterView.

## ◆ RemoveConnection()

virtual void Machinations.GUI.PointObjectView.RemoveConnection | ( | IConnectionView | connection,
|  | bool | start
| ) |  |

virtual

Reimplemented in Machinations.GUI.UserComponentView, and Machinations.GUI.SimlinkView.

## ◆ SetMainUiElementPosition()

virtual void Machinations.GUI.PointObjectView.SetMainUiElementPosition | ( | Point | value | ) |

protected virtual

Reimplemented in Machinations.GUI.UserComponentView.

## ◆ UpdateLabelPosition()

virtual void Machinations.GUI.PointObjectView.UpdateLabelPosition | ( |  | ) |

protected virtual

Reimplemented in Machinations.GUI.UserComponentView.

## Member Data Documentation

## ◆ m_highlighted

ViewHighlightMode Machinations.GUI.PointObjectView.m_highlighted

protected

## ◆ m_inputConnections

List<IConnectionView> Machinations.GUI.PointObjectView.m_inputConnections

protected

## ◆ m_outputConnections

List<IConnectionView> Machinations.GUI.PointObjectView.m_outputConnections

protected

## ◆ m_position

Point Machinations.GUI.PointObjectView.m_position

protected

## ◆ m_selected

ViewSelectionMode Machinations.GUI.PointObjectView.m_selected

protected

## ◆ m_textBlock

readonly TextBlock Machinations.GUI.PointObjectView.m_textBlock

protected

## ◆ m_uiElement

UIElement Machinations.GUI.PointObjectView.m_uiElement

protected

defining shape of an object,each type of object have to have its own

## Property Documentation

## ◆ BaseColor

virtual Color Machinations.GUI.PointObjectView.BaseColor

get set

## ◆ Highlighted

virtual ViewHighlightMode Machinations.GUI.PointObjectView.Highlighted

get set

## ◆ Label

virtual string Machinations.GUI.PointObjectView.Label

get set

## ◆ Position

virtual Point Machinations.GUI.PointObjectView.Position

get set

## ◆ Radius

virtual int Machinations.GUI.PointObjectView.Radius

get

## ◆ Selected

virtual ViewSelectionMode Machinations.GUI.PointObjectView.Selected

get set

## ◆ UiElement

UIElement Machinations.GUI.PointObjectView.UiElement

get

## Event Documentation

## ◆ OnLoaded

Action Machinations.GUI.PointObjectView.OnLoaded

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

- GUI/PointObjectView.cs