Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ImgLink.java @ 6231:bfbccad9c3f0
Subclass ImgLink with a new class WikiImgLink
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 07 Jun 2013 11:49:03 +0200 |
parents | ea9eef426962 |
children | 4875ca46fdcd |
comparison
equal
deleted
inserted
replaced
6230:954dbb0806f3 | 6231:bfbccad9c3f0 |
---|---|
12 import com.smartgwt.client.widgets.HTMLPane; | 12 import com.smartgwt.client.widgets.HTMLPane; |
13 | 13 |
14 | 14 |
15 public class ImgLink extends HTMLPane { | 15 public class ImgLink extends HTMLPane { |
16 | 16 |
17 private int width; | 17 protected int width; |
18 private int height; | 18 protected int height; |
19 | 19 |
20 private String href; | 20 protected String href; |
21 private String imgUrl; | 21 protected String imgUrl; |
22 | 22 |
23 private boolean newTab; | 23 protected boolean newTab; |
24 | 24 |
25 | 25 |
26 public ImgLink(String imgUrl, String href, int width, int height) { | 26 public ImgLink(String imgUrl, String href, int width, int height) { |
27 super(); | 27 super(); |
28 | 28 |