Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/client/ui/ImgLink.java @ 1367:ab8eb2f544f2
Replaced stdout and stderr logging with log4j loggers in server classes.
flys-client/trunk@3069 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 25 Oct 2011 12:31:15 +0000 |
parents | 0d3d3860beb5 |
children | 3c8ae5605a51 |
line wrap: on
line source
package de.intevation.flys.client.client.ui; import com.smartgwt.client.types.Overflow; import com.smartgwt.client.widgets.HTMLPane; public class ImgLink extends HTMLPane { public ImgLink(String imgUrl, String href, int width, int height) { super(); setContents("<a href='" + href + "'><img src='" + imgUrl + "'></a>"); setWidth(width); setHeight(height); setOverflow(Overflow.VISIBLE); } }