org.araneaframework
Interface Composite

All Superinterfaces:
Serializable
All Known Subinterfaces:
ApplicationComponent, ApplicationService, ApplicationWidget, Composite.CompositeComponent, Composite.CompositeService, Composite.CompositeWidget, LocalizationContext.LocaleChangeListener, StateVersioningContext.ClientNavigationAware, TabContext
All Known Implementing Classes:
AutoCompleteTextControl, BaseApplicationComponent, BaseApplicationService, BaseApplicationWidget, BaseControl, BaseFormListWidget, BaseMenuWidget, BaseUIWidget, BeanFormListWidget, BeanFormWidget, BeanListWidget, ButtonControl, CheckboxControl, ContextMenuWidget, DateControl, DateTimeControl, DisplayControl, DownloaderWidget, EditableBeanListWidget, EditableListWidget, EmptyStringNullableControl, ExceptionHandlingFlowContainerWidget, FileDownloaderService, FileDownloaderWidget, FileUploadControl, FloatControl, FormElement, FormListWidget, FormWidget, GenericFormElement, HiddenControl, ListWidget, MultiSelectControl, NumberControl, OverlayRootWidget, OverlayRootWidget.OverlayFlowContainer, PopupFlowWidget, PopupFlowWrapperWidget, RelocatableDecorator, RootFlowContainerWidget, SelectControl, StandardClassReloadingFilterWidget, StandardFlowContainerWidget, StandardOverlayContainerWidget, StringArrayRequestControl, StringRequestControl, StringValueControl, TabContainerWidget, TabWidget, TextareaControl, TextControl, TimeControl, TimestampControl, TreeNodeWidget, TreeWidget

public interface Composite
extends Serializable

Composite is a component with a set of child components. In a Composite children can form a hierarchially having composites as children and so on.

This class should not be directly implemented, but Composite.CompositeComponent, Composite.CompositeService or Composite.CompositeWidget instead.

The Component follows the template pattern by defining _getComposite which returns the implementation.

Author:
"Toomas Römer" , Jevgeni Kabanov (ekabanov at araneaframework dot org)

Nested Class Summary
static interface Composite.CompositeComponent
          A composite component.
static interface Composite.CompositeService
          A composite service.
static interface Composite.CompositeWidget
          A composite widget.
static interface Composite.Interface
          The interface which takes care of calling the hooks in the template.
 
Method Summary
 Composite.Interface _getComposite()
          The factory method returning the implementation of the Composite.
 

Method Detail

_getComposite

Composite.Interface _getComposite()
The factory method returning the implementation of the Composite.

Returns:
the Composite implementation