-
Notifications
You must be signed in to change notification settings - Fork 5
/
ITable.cs
63 lines (53 loc) · 1.58 KB
/
ITable.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NSFW.TimingEditor
{
/// <summary>
/// Represents a table in the ECU.
/// </summary>
public interface ITable
{
/// <summary>
/// Indicates whether the table is read-only in the UI.
/// </summary>
bool IsReadOnly { get; set; }
/// <summary>
/// Indicates whether the table is fully populated.
/// </summary>
bool IsPopulated { get; }
/// <summary>
/// Gets the row header values.
/// </summary>
IList<double> RowHeaders { get; }
/// <summary>
/// Gets the column header values.
/// </summary>
IList<double> ColumnHeaders { get; }
/// <summary>
/// Clones the table.
/// </summary>
ITable Clone();
/// <summary>
/// Copies the table contents into another table.
/// </summary>
void CopyTo(ITable destination);
/// <summary>
/// Gets the value of a cell in the table.
/// </summary>
double GetCell(int x, int y);
/// <summary>
/// Sets the value of a cell in the table.
/// </summary>
void SetCell(int x, int y, double value);
/// <summary>
/// Resets the contents of a table.
/// </summary>
void Reset();
/// <summary>
/// Invoke this when the table is fully populated.
/// </summary>
void Populated();
}
}