public void setIcon(final IconType iconType) {
        if (iconType != null)
            attrMixin.setAttribute(ICON, iconType.getCssName());
        else
            attrMixin.removeAttribute(ICON);
    }
public void setIcon ( final IconType iconType ) { if ( iconType != null ) attrMixin . setAttribute ( ICON , iconType . getCssName ( ) ) ; else attrMixin . removeAttribute ( ICON ) ; }
Add an icon to the option.

@param iconType