01: package net.xoetrope.xui;
02:
03: /**
04: * A simple interface to allow one item to be appended to another. Known uses
05: * include XMenu and XMenuBar
06: * <p>Copyright (c) Xoetrope Ltd., 2002-2003</p>
07: * Liscense: see license.txt
08: * $Revision: 1.6 $
09: */
10: public interface XAppender {
11: /**
12: * Appends the object o to this item
13: * @param o the appended item
14: * @param name
15: */
16: public void append(Object o, String name);
17:
18: /**
19: * Get a child object by name
20: * @param name
21: * @return the child
22: */
23: public Object getObject(String name);
24:
25: /**
26: * Do any final setup needed
27: */
28: public void setup();
29: }
|