Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Visualization/IDataRow.cs @ 796

Last change on this file since 796 was 761, checked in by mstoeger, 16 years ago

changed interface between model and view (#316)

File size: 750 bytes
Line 
1using System.Drawing;
2
3namespace HeuristicLab.Visualization {
4  public interface IDataRow {
5    string Label { get; set; }
6    Color Color { get; set; }
7    int Thickness { get; set; }
8    DrawingStyle Style { get; set; }
9
10    void AddValue(double value);
11    void AddValue(double value, int index);
12    void AddValues(double[] values);
13    void AddValues(double[] values, int index);
14
15    void ModifyValue(double value, int index);
16    void ModifyValues(double[] values, int index);
17
18    void RemoveValue(int index);
19    void RemoveValues(int index, int count);
20
21    int Count { get; }
22    double this[int index] { get; set; }
23
24    event ValuesChangedHandler ValuesChanged;
25    event ValueChangedHandler ValueChanged;
26  }
27}
Note: See TracBrowser for help on using the repository browser.