01: package net.xoetrope.xui;
02:
03: import java.awt.Component;
04:
05: /**
06: * A generic interface that allows stateful components to bind their state
07: * <p>Copyright (c) Xoetrope Ltd., 1998-2004</p>
08: * $Revision: 1.3 $
09: */
10: public interface XStateHolder {
11: /**
12: * Get the component state
13: * @return the object state
14: */
15: public Object getComponentState();
16:
17: /**
18: * Set the component state
19: * @param the new component state
20: */
21: public void setComponentState(Object object);
22:
23: }
|