KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jimm > datavision > layout > LineDrawer


1 package jimm.datavision.layout;
2 import jimm.datavision.Line;
3
4
5 /**
6  * The line drawer interface is used by those wishing to draw all lines
7  * in a border. Typical use:
8  *
9  * <pre><code>
10  * field.getBorderOrDefault().eachLine(fieldWalker);
11  * </code></pre>
12  *
13  * @author Jim Menard, <a HREF="mailto:jimm@io.com">jimm@io.com</a>
14  */

15 public interface LineDrawer {
16
17 /**
18  * This method is called once for each line, when used from within
19  * {@link jimm.datavision.field.Border#eachLine}.
20  *
21  * @param l a line
22  * @param arg whatever you want it to be
23  */

24 public void drawLine(Line l, Object JavaDoc arg);
25
26 }
27
Popular Tags