Ejemplo 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;
 }
Ejemplo n.º 2
0
        public CategorialThemeItem(string category, IStyle style, Bitmap symbol, object value)
        {
            label      = category;
            this.style = (IStyle)style.Clone();
            Symbol     = symbol;

            this.value = value;
        }
Ejemplo n.º 3
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");
     }
 }
Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo n.º 7
0
 public QuantityTheme(string attributeName, IStyle defaultStyle)
 {
     AttributeName     = attributeName;
     this.defaultStyle = (defaultStyle != null) ? (IStyle)defaultStyle.Clone() : null;
 }
Ejemplo n.º 8
0
 public GradientThemeItem(IStyle style, string label, string range)
 {
     this.label = label;
     this.style = (IStyle) style.Clone();
     this.range = range;
 }
Ejemplo n.º 9
0
 public QuantityThemeItem(Interval interval, IStyle style)
 {
     Interval   = interval;
     this.style = (IStyle)style.Clone();
 }
Ejemplo n.º 10
0
 public QuantityThemeItem(Interval interval, IStyle style)
 {
     Interval = interval;
     this.style = (IStyle) style.Clone();
 }
Ejemplo n.º 11
0
 public QuantityTheme(string attributeName, IStyle defaultStyle)
 {
     this.attributeName = attributeName;
     this.defaultStyle  = (IStyle)defaultStyle.Clone();
 }
Ejemplo n.º 12
0
 public GradientThemeItem(IStyle style, string label, string range)
 {
     this.label = label;
     this.style = (IStyle)style.Clone();
     this.range = range;
 }