01: // (c) copyright 2006 by eXXcellent solutions, Ulm. Author: bschmid
02:
03: package org.wings.plaf;
04:
05: import org.wings.SComponent;
06:
07: /**
08: * Implement this interface with a class declared in your default.properties to
09: * show it as example within the wingset demo.
10: *
11: * @author Benjamin Schmid <B.Schmid@exxcellent.de>
12: */
13: public interface WingSetExample {
14:
15: /**
16: * Called by the demo to indicate that it will soon use and show your example.
17: */
18: void activateExample();
19:
20: /**
21: * Indicated that your example has been hidden until next {@link #activateExample()}
22: */
23: void passivateExample();
24:
25: /**
26: * @return The SComponent representing and showing your example.
27: */
28: SComponent getExample();
29:
30: /**
31: * @return The name of your example and/or component
32: */
33: String getExampleName();
34:
35: /**
36: * @return The group your example belongs to.
37: */
38: String getExampleGroup();
39: }
|