Exemplo n.º 1
0
 public CategorialThemeItem(string category, IStyle style, Bitmap symbol, object value)
 {
     label = category;
     this.style = (IStyle)style.Clone();
     Symbol = symbol;
     
     this.value = value;
 }
        public CategorialThemeItem(string category, IStyle style, Bitmap symbol, object value)
        {
            label      = category;
            this.style = (IStyle)style.Clone();
            Symbol     = symbol;

            this.value = value;
        }
 public CategorialThemeItem(string category, IStyle style, Bitmap symbol)
 {
     label      = category;
     this.style = (IStyle)style.Clone();
     if (symbol != null)
     {
     }
     else
     {
         log.Debug("Symbol may not be null when initializing categorial themeitem");
     }
 }
Exemplo n.º 4
0
 public CategorialThemeItem(string category, IStyle style, Bitmap symbol)
 {
     label = category;
     this.style = (IStyle) style.Clone();
     if (symbol != null)
     {
     }
     else
     {
         log.Debug("Symbol may not be null when initializing categorial themeitem");
     }
 }
        public override object Clone()
        {
            var categorialTheme = new CategorialTheme(AttributeName, (IStyle)defaultStyle.Clone());

            foreach (CategorialThemeItem categorialThemeItem in ThemeItems)
            {
                categorialTheme.ThemeItems.Add((CategorialThemeItem)categorialThemeItem.Clone());
            }

            if (NoDataValues != null)
            {
                categorialTheme.NoDataValues = NoDataValues.Cast <object>().ToArray();
            }

            return(categorialTheme);
        }
Exemplo n.º 6
0
        public override object Clone()
        {
            var quantityTheme = new QuantityTheme(attributeName, defaultStyle);

            foreach (QuantityThemeItem quantityThemeItem in ThemeItems)
            {
                quantityTheme.ThemeItems.Add((QuantityThemeItem)quantityThemeItem.Clone());
            }

            quantityTheme.DefaultStyle = (IStyle)defaultStyle.Clone();

            if (NoDataValues != null)
            {
                quantityTheme.NoDataValues = NoDataValues.Cast <object>().ToArray();
            }

            return(quantityTheme);
        }
Exemplo n.º 7
0
 public QuantityTheme(string attributeName, IStyle defaultStyle)
 {
     AttributeName     = attributeName;
     this.defaultStyle = (defaultStyle != null) ? (IStyle)defaultStyle.Clone() : null;
 }
Exemplo n.º 8
0
 public GradientThemeItem(IStyle style, string label, string range)
 {
     this.label = label;
     this.style = (IStyle) style.Clone();
     this.range = range;
 }
Exemplo n.º 9
0
 public QuantityThemeItem(Interval interval, IStyle style)
 {
     Interval   = interval;
     this.style = (IStyle)style.Clone();
 }
Exemplo n.º 10
0
 public QuantityThemeItem(Interval interval, IStyle style)
 {
     Interval = interval;
     this.style = (IStyle) style.Clone();
 }
Exemplo n.º 11
0
 public QuantityTheme(string attributeName, IStyle defaultStyle)
 {
     this.attributeName = attributeName;
     this.defaultStyle  = (IStyle)defaultStyle.Clone();
 }
Exemplo n.º 12
0
 public GradientThemeItem(IStyle style, string label, string range)
 {
     this.label = label;
     this.style = (IStyle)style.Clone();
     this.range = range;
 }