Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ImgLink.java @ 6556:4875ca46fdcd
Doc/Debug.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 10 Jul 2013 11:42:31 +0200 |
parents | bfbccad9c3f0 |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
6555:701f11e8a17a | 6556:4875ca46fdcd |
---|---|
10 | 10 |
11 import com.smartgwt.client.types.Overflow; | 11 import com.smartgwt.client.types.Overflow; |
12 import com.smartgwt.client.widgets.HTMLPane; | 12 import com.smartgwt.client.widgets.HTMLPane; |
13 | 13 |
14 | 14 |
15 /** An image wrapped in a clickable link. */ | |
15 public class ImgLink extends HTMLPane { | 16 public class ImgLink extends HTMLPane { |
16 | 17 |
17 protected int width; | 18 protected int width; |
18 protected int height; | 19 protected int height; |
19 | 20 |
57 public void setSource(String href) { | 58 public void setSource(String href) { |
58 this.href = href; | 59 this.href = href; |
59 update(); | 60 update(); |
60 } | 61 } |
61 } | 62 } |
63 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |