Set the icon associated to a given serie
@param mixed $Series
@param mixed $Picture
199836
public function setSeriePicture($Series, $Picture = null)
    {
        if (!is_array($Series)) {
            $Series = $this->convertToArray($Series);
        }
        foreach ($Series as $Serie) {
            if (isset($this->Data["Series"][$Serie])) {
                $this->Data["Series"][$Serie]["Picture"] = $Picture;
            }
        }
    }
664041
public function apply(Picture $picture)
    {
        $resource = $picture->getResource();

        if($picture->isGd())
        {
            imagefilter($resource, IMG_FILTER_GRAYSCALE);

            $picture->setResource($resource);
        }
        else
        {
            $resource->modulateImage(100, 0, 100);
        }
    }
102489
public AbstractChart<T, S> setSeries(Collection<Serie> series) {
		this.getChartConfiguration().setSeries(series);
		return this;
	}
16517
public AbstractChart<T, S> addSerie(Serie serie) {
		Collection<Serie> series = getSeries();
		if (series == null) {
			series = new ArrayList<Serie>();
		}
		series.add(serie);
		return this;
	}
1155477
public function setPictureId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->picture_id !== $v) {
            $this->picture_id = $v;
            $this->modifiedColumns[SkillVersionTableMap::COL_PICTURE_ID] = true;
        }

        return $this;
    }
890055
public function addToIcon($icon) {
		$this->addToProperty("class", $icon);
		return $this->addToMember($this->_icon, $icon);
	}
891428
public function prune($picture = null)
    {
        if ($picture) {
            $this->addUsingAlias(PictureTableMap::COL_ID, $picture->getId(), Criteria::NOT_EQUAL);
        }

        return $this;
    }
722848
public void setIcon(Icon icon) {
        Icon old = null;
        if (iconInfo == CommandButtonIconInfo.BLANK_ICON_INFO) {
            if (icon != null) {
                // New IconInfo fires event
                setIconInfo(new CommandButtonIconInfo(icon));
            }
        }
        else {
            old = iconInfo.getIcon();
            this.iconInfo.setIcon(icon);
        }
        firePropertyChange(ICON_PROPERTY, old, icon);
    }
787552
public function setSerieDescription($Series, $Description = "My serie")
    {
        if (!is_array($Series)) {
            $Series = $this->convertToArray($Series);
        }
        foreach ($Series as $Serie) {
            if (isset($this->Data["Series"][$Serie])) {
                $this->Data["Series"][$Serie]["Description"] = $Description;
            }
        }
    }
393716
public function setSeriesMarkerStyle( $series, $value )
    {
        return $this->setNestedOptVal( $this->options, 'seriesStorage', $this->getSeriesTitle( $series ), 'markerOptions', 'style', $value );
    }
67660
protected function setIcon($icon)
    {
        if (is_string($icon) === false) {
            throw new \InvalidArgumentException(
                'The icon label must be a string.'
            );
        }

        $this->icon = $icon;

        return $this;
    }
602303
public function setIcon($icon)
    {
        if (in_array(
            $icon,
            $this->validIcons
        )) {
            $this->icon = $icon;
        }

        return $this;
    }
282731
public function icon($icon = null)
    {
        if ($icon === null) {
            return $this->_icon;
        }
        $this->_icon = $icon;

        return $this;
    }
31762
public void setIcon(Object icon, int iIconType)
    {
        if (iIconType == CalendarConstants.END_ICON)
            m_iconEnd = icon;
        if (iIconType == CalendarConstants.END_ICON)
            m_iconStart = icon;
    }
1055789
public function icon($icon = null)
    {
        if (null !== $icon) {
            $this->icon = $icon;

            return $this;
        }

        return $this->icon;
    }
616192
public function apply(Picture $picture)
    {
        $resource = $picture->getResource();

        if($picture->isGd())
        {
            imagefilter($resource, IMG_FILTER_GRAYSCALE);
            imagefilter($resource, IMG_FILTER_COLORIZE, 100, 60, 0);

            $picture->setResource($resource);
        }
        else
        {
            $resource->sepiaToneImage(80);
        }
    }
190494
public void setIcon(String src) {
        setImage(src);
        if (imageElem != null) {
            imageElem.removeClassName("jqm4gwt-listitem-thumb");
            imageElem.addClassName("jqm4gwt-listitem-icon");
        }
    }