Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ImgLink.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | 4875ca46fdcd |
children |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
46 | 46 |
47 | 47 |
48 protected void update() { | 48 protected void update() { |
49 String target = newTab ? "_blank" : "_self"; | 49 String target = newTab ? "_blank" : "_self"; |
50 | 50 |
51 setContents("<a target='" + target + "' href='" + href + "'><img src='" + imgUrl + "'></a>"); | 51 setContents("<a target='" + target |
52 + "' href='" + href + "'><img src='" + imgUrl + "'></a>"); | |
52 setWidth(width); | 53 setWidth(width); |
53 setHeight(height); | 54 setHeight(height); |
54 setOverflow(Overflow.VISIBLE); | 55 setOverflow(Overflow.VISIBLE); |
55 } | 56 } |
56 | 57 |