Class FieldInt
FieldInt, represents a int field type. Implements the FieldType
Inherited Members
Namespace: Mechatronics.SystemGraph
Syntax
[Serializable]
public class FieldInt : FieldType
Constructors
FieldInt(INodeEditor, Object)
Initializes a new instance of the FieldInt class.
Declaration
public FieldInt(INodeEditor editor, object inData = null)
Parameters
| Type | Name | Description |
|---|---|---|
| INodeEditor | editor | The editor. |
| Object | inData | The data binding. |
Properties
Data
Gets or sets the data.
Declaration
public int Data { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 | The data. |
PortType
Gets the type of the port.
Declaration
public PortType<int> PortType { get; }
Property Value
| Type | Description |
|---|---|
| PortType<Int32> | The type of the port. |
Methods
OnValueChanged(ChangeEvent<Int32>)
Called when [value changed].
Declaration
public void OnValueChanged(ChangeEvent<int> e)
Parameters
| Type | Name | Description |
|---|---|---|
| ChangeEvent<Int32> | e | The event. |
SynchronizePortValue()
Synchronizes the port value.
Declaration
public override void SynchronizePortValue()