com.sage.swt.client.widget
Interface SwtWidgetCreator

All Known Implementing Classes:
SwtLayoutPortlet.SwtLayoutPortletCreator, SwtSortPanelCreator

public interface SwtWidgetCreator

Interface for a widget creator, which creates new instances of widgets (but does not set any properties).


Method Summary
 SwtWidget createWidget(WidgetKey widgetKey, SwtErrorStack errorStack)
          Creates a new widget (but does not set any of its properties).
 

Method Detail

createWidget

SwtWidget createWidget(WidgetKey widgetKey,
                       SwtErrorStack errorStack)
Creates a new widget (but does not set any of its properties).

Parameters:
widgetKey - The widget key that will be used to identify this widget (caller to ensure each widget key's widget ID is unique among widgets with the same form ID, unless that ID is blank). If the widget does not need to be retrieved later from the UI context, the key can have an empty widget ID.
errorStack - The UI's stack of SWT errors.
Returns:
The newly created widget.


Copyright © 2011 Sage Software, Inc. All rights reserved.