public interface FormPanelContainer
Any screen can have a form panel, just like the "Additional confirmations" screen or the "Configurable form" screen. In the install4j GUI, the user can configure form components for screens that implement this interface. The framework will then pass a form panel to the screen by calling setFormPanel.
Method Summary | |
---|---|
FormEnvironment |
getFormEnvironment()
Returns the form environment that was set with setFormPanel(javax.swing.JPanel, com.install4j.api.formcomponents.FormEnvironment) . |
boolean |
isScrollFormPanel()
Determine if the form panel should be wrapped in a scroll pane. |
void |
setFormPanel(javax.swing.JPanel panel,
FormEnvironment formEnvironment)
This method is called by the framework to pass the form panel to this screen. |
Method Detail |
---|
void setFormPanel(javax.swing.JPanel panel, FormEnvironment formEnvironment)
panel
- the form panelformEnvironment
- the form environmentboolean isScrollFormPanel()
FormEnvironment getFormEnvironment()
setFormPanel(javax.swing.JPanel, com.install4j.api.formcomponents.FormEnvironment)
.
This is useful for making changes on a form screen in scripts from another screen or action.