@@ -0,0 +1,845 @@
+package to.etc.domui.component.misc;%0A%0Aimport to.etc.domui.dom.html.Img;%0Aimport to.etc.domui.dom.html.Span;%0A%0A/**%0A * @author %3Ca href=%22mailto:jal@etc.to%22%3EFrits Jalvingh%3C/a%3E%0A * Created on 21-11-18.%0A */%0Afinal public class ImgIcon extends Span %7B%0A%09private final Img m_img = new Img();%0A%0A%09public ImgIcon() %7B%0A%09%7D%0A%0A%09public ImgIcon(ImageIconRef icon) %7B%0A%09%09setIcon(icon);%0A%09%7D%0A%0A%09public ImgIcon(String src) %7B%0A%09%09m_img.setSrc(src);%0A%09%7D%0A%0A%09@Override public void createContent() throws Exception %7B%0A%09%09addCssClass(%22ui-imgi%22);%0A%09%09add(m_img);%0A%09%09m_img.setImgBorder(0);%0A%09%7D%0A%0A%09public String getSrc() %7B%0A%09%09return m_img.getSrc();%0A%09%7D%0A%0A%09public void setSrc(String src) %7B%0A%09%09m_img.setSrc(src);%0A%09%7D%0A%0A%09@Override%0A%09public ImgIcon css(String... classes) %7B%0A%09%09super.css(classes);%0A%09%09return this;%0A%09%7D%0A%0A%09public void setIcon(ImageIconRef icon) %7B%0A%09%09setSrc(null == icon ? null : icon.getPath());%0A%09%7D%0A%7D%0A

Add missing file