01: package jimm.datavision.gui;
02:
03: /**
04: * The field widget walker interface is used by those wishing to perform an
05: * action on every field widget in a report design window. It is used as an
06: * argument to <code>Designer.withWidgetsDo</code>. Typical use:
07: *
08: * <pre><code>
09: * designer.withWidgetsDo(new FieldWidgetWalker() {
10: * public void step(FieldWidget f) {
11: * // Do something with the field
12: * }
13: * });
14: * </code></pre>
15: *
16: * @author Jim Menard, <a href="mailto:jimm@io.com">jimm@io.com</a>
17: */
18: public interface FieldWidgetWalker {
19:
20: /**
21: * This method is called once for each field, when used from within
22: * <code>designer.withWidgetsDo</code>.
23: *
24: * @param f a field widget
25: */
26: public void step(FieldWidget f);
27:
28: }
|