public interface UIFormPane
This pane may be used as the content of an entire form
(using the method UIFormBody.setContent(UIFormPane)
)
or as the content of a specific tab
(using the method UIFormPaneWithTabs.addTab(UserMessage, UIFormPane)
).
UIFormBody
,
UIFormPaneWithTabs
Modifier and Type | Method and Description |
---|---|
default boolean |
isPaddingEnabled()
This method allows this pane to declare that a padding must be applied on display.
|
void |
writePane(UIFormPaneWriter aWriter,
UIFormContext aContext)
Specifies the HTML pane content.
|
void writePane(UIFormPaneWriter aWriter, UIFormContext aContext)
For details on when the EBX® user interface invokes this method, see Life cycle.
aWriter
- the UIFormPaneWriter
to use to add some built-in form rows,
widgets, or simple HTML and JavaScript.aContext
- a UIFormContext
to request data and environment.default boolean isPaddingEnabled()
This only applies to root panes (panes that stick to the workspace), and root tab panes (in a tabbed pane that sticks to the workspace).
The custom component designed with this pane is responsible for maintaining a free space around the workspace, to have a graphical coherence with the rest of the UI.
UIJavaScriptWriter.addJS_addResizeWorkspaceListener(String)
takes in account this declaration.
Default value returned is true
.
true
if a padding must be applied (default),
false
if no padding must be applied.