Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/03/09 01:42:55 (15 years ago)
Author:
mstoeger
Message:

added many new persisted properties.
removed useless comments.
added XmlSupport class since the code for setting xml attributes is always the same.
#639

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/3.2/XAxisDescriptor.cs

    r1885 r1993  
    77  public class XAxisDescriptor {
    88    private string label = "";
     9    private Font font = new Font("Arial", 8);
     10    private Color color = Color.Blue;
    911    private bool showLabel = true;
    1012    private bool showGrid = true;
     
    1416    public event XAxisDescriptorChangedHandler XAxisDescriptorChanged;
    1517
     18    public string Label {
     19      get { return label; }
     20      set {
     21        label = value;
     22        FireXAxisDescriptorChanged();
     23      }
     24    }
     25
     26    public Font Font {
     27      get { return font; }
     28      set {
     29        font = value;
     30        FireXAxisDescriptorChanged();
     31      }
     32    }
     33
     34    public Color Color {
     35      get { return color; }
     36      set {
     37        color = value;
     38        FireXAxisDescriptorChanged();
     39      }
     40    }
     41
     42    public bool ShowLabel {
     43      get { return showLabel; }
     44      set {
     45        showLabel = value;
     46        FireXAxisDescriptorChanged();
     47      }
     48    }
     49
    1650    public bool ShowGrid {
    1751      get { return showGrid; }
    1852      set {
    1953        this.showGrid = value;
     54        FireXAxisDescriptorChanged();
     55      }
     56    }
     57
     58    public Color GridColor {
     59      get { return this.gridColor; }
     60      set {
     61        this.gridColor = value;
    2062        FireXAxisDescriptorChanged();
    2163      }
     
    3072    }
    3173
    32     public string Label {
    33       get { return label; }
    34       set {
    35         label = value;
    36         FireXAxisDescriptorChanged();
    37       }
    38     }
    39 
    40     public bool ShowLabel {
    41       get { return showLabel; }
    42       set {
    43         showLabel = value;
    44         FireXAxisDescriptorChanged();
    45       }
    46     }
    47 
    48     public Color GridColor {
    49       get { return this.gridColor; }
    50       set {
    51         this.gridColor = value;
    52         FireXAxisDescriptorChanged();
    53       }
    54     }
    55 
    5674    private void FireXAxisDescriptorChanged() {
    5775      if (XAxisDescriptorChanged != null)
Note: See TracChangeset for help on using the changeset viewer.