Mercurial > hg > test-repo
diff findbugs-wtf/src/main/java/de/iobjects/render/ButtonRenderer.java @ 18:9436877e9b54
added sample maven project
author | Dirk Olmes <dirk.olmes@googlemail.com> |
---|---|
date | Tue, 17 Jun 2008 12:22:15 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/findbugs-wtf/src/main/java/de/iobjects/render/ButtonRenderer.java Tue Jun 17 12:22:15 2008 +0200 @@ -0,0 +1,19 @@ +package de.iobjects.render; + +import java.io.IOException; +import java.io.Writer; + +import de.iobjects.widget.Button; + +public class ButtonRenderer extends Object implements Renderer<Button> +{ + public void beginRender(Button widget, Writer writer) throws IOException + { + writer.write("begin " + widget.getName()); + } + + public void endRender(Button widget, Writer writer) throws IOException + { + writer.write("end " + widget.getName()); + } +}