01: package net.xoetrope.xui;
02:
03: /**
04: * A generic interface for components that display a text label
05: * <p>Copyright: Copyright (c) Xoetrope Ltd., 2002-2004</p>
06: * $Revision: 1.5 $
07: */
08: public interface XTextHolder {
09: /**
10: * Set the text/label of a component
11: * @param label the new text
12: */
13: public void setText(String text);
14:
15: /**
16: * Get the text/label of a component
17: * @return the component's text
18: */
19: public String getText();
20: }
|