Last change
on this file since 1993 was
1993,
checked in by mstoeger, 15 years ago
|
added many new persisted properties.
removed useless comments.
added XmlSupport class since the code for setting xml attributes is always the same.
#639
|
File size:
1015 bytes
|
Line | |
---|
1 | using System.Xml;
|
---|
2 | using HeuristicLab.Visualization.Options;
|
---|
3 |
|
---|
4 | namespace HeuristicLab.Visualization {
|
---|
5 | public enum DataRowType {
|
---|
6 | Normal, SingleValue,
|
---|
7 | Points
|
---|
8 | }
|
---|
9 |
|
---|
10 | public interface IDataRow {
|
---|
11 | DataRowSettings RowSettings { get; set; }
|
---|
12 |
|
---|
13 | YAxisDescriptor YAxis { get; set; }
|
---|
14 |
|
---|
15 | void AddValue(double value);
|
---|
16 | void AddValue(double value, int index);
|
---|
17 | void AddValues(double[] values);
|
---|
18 | void AddValues(double[] values, int index);
|
---|
19 |
|
---|
20 | void ModifyValue(double value, int index);
|
---|
21 | void ModifyValues(double[] values, int index);
|
---|
22 |
|
---|
23 | void RemoveValue(int index);
|
---|
24 | void RemoveValues(int index, int count);
|
---|
25 |
|
---|
26 | int Count { get; }
|
---|
27 | double this[int index] { get; set; }
|
---|
28 |
|
---|
29 | double MinValue { get; }
|
---|
30 | double MaxValue { get; }
|
---|
31 |
|
---|
32 | XmlNode ToXml(XmlDocument document);
|
---|
33 | IDataRow FromXml(XmlNode xmlNode);
|
---|
34 |
|
---|
35 | event ValuesChangedHandler ValuesChanged;
|
---|
36 | event ValueChangedHandler ValueChanged;
|
---|
37 | event DataRowChangedHandler DataRowChanged;
|
---|
38 | }
|
---|
39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.