Mercurial > hg > test-repo
annotate findbugs-wtf/src/main/java/de/iobjects/render/ButtonRenderer.java @ 26:19ef091c0ef3 default tip
add setup of shell env through ansible
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Tue, 15 Nov 2016 16:34:28 +0000 |
parents | 9436877e9b54 |
children |
rev | line source |
---|---|
18
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
1 package de.iobjects.render; |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
2 |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
3 import java.io.IOException; |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
4 import java.io.Writer; |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
5 |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
6 import de.iobjects.widget.Button; |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
7 |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
8 public class ButtonRenderer extends Object implements Renderer<Button> |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
9 { |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
10 public void beginRender(Button widget, Writer writer) throws IOException |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
11 { |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
12 writer.write("begin " + widget.getName()); |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
13 } |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
14 |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
15 public void endRender(Button widget, Writer writer) throws IOException |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
16 { |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
17 writer.write("end " + widget.getName()); |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
18 } |
9436877e9b54
added sample maven project
Dirk Olmes <dirk.olmes@googlemail.com>
parents:
diff
changeset
|
19 } |