01: package desktop;
02:
03: import org.wings.SComponent;
04:
05: import java.beans.PropertyChangeListener;
06:
07: public interface DesktopItem {
08:
09: public static final String KEY = "Key";
10: public static final String NAME = "Name";
11: public static final String ICON = "Icon";
12: public static String FIRST_FREE_INDEX = "firstFreeIndex";
13: public static String TOOL = "tool";
14: public static String DESKTOPPANE = "desktoppane";
15: public static String POSITION_ON_PANE = "positionOnPane";
16: public static final String TEXT = "Text";
17: public static final String FEED = "Feed";
18:
19: public SComponent getComponent();
20:
21: public Object getValue(String key);
22:
23: public void putValue(String key, Object value);
24:
25: public void activated();
26:
27: public void destroyed();
28:
29: public void setContainer(ItemContainer container);
30:
31: public void addPropertyChangeListener(
32: PropertyChangeListener listener);
33:
34: public void removePropertyChangeListener(
35: PropertyChangeListener listener);
36:
37: public void fixContent();
38: }
|