01: package org.araneaframework.core;
02:
03: import java.io.Serializable;
04: import org.araneaframework.Widget;
05: import org.araneaframework.Composite.CompositeWidget;
06: import org.araneaframework.Viewable.ViewableWidget;
07:
08: /**
09: * A Widget Component.
10: */
11: public interface ApplicationWidget extends ApplicationService, Widget,
12: CompositeWidget, ViewableWidget {
13:
14: /**
15: * A view model for a Widget.
16: */
17: public interface WidgetViewModel extends
18: ApplicationService.ServiceViewModel, Serializable {
19: }
20:
21: /**
22: * The key of the event handler.
23: */
24: public static final String EVENT_HANDLER_ID_KEY = "araWidgetEventHandler";
25: public static final String EVENT_PARAMETER_KEY = "araWidgetEventParameter";
26:
27: /**
28: * The key of the path of the event in the request.
29: *
30: * @since 1.1
31: */
32: public static final String EVENT_PATH_KEY = "araWidgetEventPath";
33:
34: }
|