public interface IFormWidget extends IObservableWidget
The IFormWidget interface describes the operations that ICE expects from a Widget that can display Forms.
Modifier and Type | Method and Description |
---|---|
void |
disable(boolean state)
This operation disables the Form widget.
|
void |
display()
This operation directs the IFormWidget to display its Form.
|
Form |
getForm()
This operation retrieves the Form from the IFormWidget and should be used whenever an update is dispatched from the Widget to a Listener.
|
void |
setForm(Form form)
This operation sets the Form that should be displayed by the Widget.
|
void |
updateStatus(java.lang.String statusMessage)
This operation posts a status message to the IFormWidget that should be displayed to the user or system viewing the widget.
|
notifyCancelListeners, notifyProcessListeners, notifyUpdateListeners, registerProcessListener, registerResourceProvider, registerUpdateListener
void setForm(Form form)
This operation sets the Form that should be displayed by the Widget.
form
- The Form that should be used by the Widget.
Form getForm()
This operation retrieves the Form from the IFormWidget and should be used whenever an update is dispatched from the Widget to a Listener.
The Form from the Widget.
void display()
This operation directs the IFormWidget to display its Form. It must be implemented by subclasses that code to a specific UI API (SWT, Swing).
void updateStatus(java.lang.String statusMessage)
This operation posts a status message to the IFormWidget that should be displayed to the user or system viewing the widget. It is a simple string.
statusMessage
- The status message.
void disable(boolean state)
This operation disables the Form widget. Disabled FormWidgets will not make it possible for clients to process the Form. Any buttons or facilities that enable this should be disabled.
state
- True if the widget is disabled, false if not.