comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/WikiImgLink.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 244beb29418e
children
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
14 14
15 public class WikiImgLink extends ImgLink { 15 public class WikiImgLink extends ImgLink {
16 16
17 protected FLYS instance; 17 protected FLYS instance;
18 18
19 public WikiImgLink(String imgUrl, String href, int width, int height, FLYS instance) { 19 public WikiImgLink(
20 String imgUrl,
21 String href,
22 int width,
23 int height,
24 FLYS instance
25 ) {
20 super(imgUrl, href, width, height, false); 26 super(imgUrl, href, width, height, false);
21 this.instance = instance; 27 this.instance = instance;
22 update(); 28 update();
23 } 29 }
24 30
25 @Override 31 @Override
26 protected void update() { 32 protected void update() {
27 setContents(WikiLinks.imageLinkForm(instance, href, imgUrl, "wikiImgLink" + toString())); 33 setContents(WikiLinks.imageLinkForm(
34 instance, href, imgUrl, "wikiImgLink" + toString()));
28 setWidth(width); 35 setWidth(width);
29 setHeight(height); 36 setHeight(height);
30 setOverflow(Overflow.VISIBLE); 37 setOverflow(Overflow.VISIBLE);
31 } 38 }
32 } 39 }

http://dive4elements.wald.intevation.org