Class FieldType
FieldType contains information about a port data binding. It visually binds PortTypes with the visual ports in the graph.
Namespace: Mechatronics.SystemGraph
Syntax
[Serializable]
public abstract class FieldType
Constructors
FieldType(INodeEditor)
Initializes a new instance of the FieldType class.
Declaration
public FieldType(INodeEditor editor)
Parameters
| Type | Name | Description |
|---|---|---|
| INodeEditor | editor | The editor. |
Fields
_scheduledItem
The scheduled item
Declaration
protected IVisualElementScheduledItem _scheduledItem
Field Value
| Type | Description |
|---|---|
| IVisualElementScheduledItem |
_visual
The visual
Declaration
protected VisualElement[] _visual
Field Value
| Type | Description |
|---|---|
| VisualElement[] |
kLiveUpdatePeriodMs
The constant live update period ms
Declaration
public static uint kLiveUpdatePeriodMs
Field Value
| Type | Description |
|---|---|
| UInt32 |
Properties
Editor
Gets or sets the editor.
Declaration
public INodeEditor Editor { get; set; }
Property Value
| Type | Description |
|---|---|
| INodeEditor | The editor. |
Methods
BindVisual(VisualElement[])
Binds the visual.
Declaration
public void BindVisual(VisualElement[] ve)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement[] | ve | The ve. |
GetPortView()
Gets the port view.
Declaration
public PortView GetPortView()
Returns
| Type | Description |
|---|---|
| PortView | PortView. |
PortValueChange()
Event fired when port value changed.
Declaration
public virtual void PortValueChange()
SetPortView(PortView)
Sets the port view.
Declaration
public void SetPortView(PortView portView)
Parameters
| Type | Name | Description |
|---|---|---|
| PortView | portView | The port view. |
SynchronizePortValue()
Synchronizes the port value.
Declaration
public virtual void SynchronizePortValue()