public interface IWidgetFactory
The IWidgetFactory interface defines the operations used to create widgets for implementations of IClient. It is implemented separately from the client to separate the code needed for drawing to the screen from the code needed to communicate with instances of ICore. An instance of this class must be set before implementations of IClient can be used.
Modifier and Type | Method and Description |
---|---|
IErrorBox |
getErrorBox()
This operation returns an IErrorBox that is rendered by the underlying graphics package.
|
IExtraInfoWidget |
getExtraInfoWidget()
This operation returns an IExtraInfoWidget.
|
IFormWidget |
getFormWidget(java.lang.String formName)
This operation returns an IFormWidget that is rendered by the underlying graphics package.
|
IStreamingTextWidget |
getStreamingTextWidget()
This operation returns a widget that can be used to stream text to a client.
|
ITextEditor |
getTextEditor()
This operation returns an ITextEditor that is rendered by the underlying graphics package.
|
IFormWidget getFormWidget(java.lang.String formName)
This operation returns an IFormWidget that is rendered by the underlying graphics package.
formName
- The name of the Form that will be rendered with the widget. This option can be used by classes that realize the IWidgetFactory interface for further customization or special checks, but it is not required (and may be null).
An IFormWidget
IErrorBox getErrorBox()
This operation returns an IErrorBox that is rendered by the underlying graphics package.
The IErrorBox
ITextEditor getTextEditor()
This operation returns an ITextEditor that is rendered by the underlying graphics package.
The ITextEditor
IExtraInfoWidget getExtraInfoWidget()
This operation returns an IExtraInfoWidget.
The IExtraInfoWidget.
IStreamingTextWidget getStreamingTextWidget()
This operation returns a widget that can be used to stream text to a client.
The IStreamingTextWidget that can post messages to be viewed by a client.