Class ParametersFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.emailtemplatesui.screen.emailtemplate.json.parameters.ParametersFragment
- All Implemented Interfaces:
FrameOwner
@UiController("emltmp_ParametersFragment")
@UiDescriptor("parameters-fragment.xml")
public class ParametersFragment
extends ScreenFragment
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.ScreenFragment
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected InstanceContainer<JsonEmailTemplate>
protected Table
protected Messages
protected Button
protected Button
protected CollectionContainer<ReportInputParameter>
protected GroupBoxLayout
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
protected void
inputParametersTableRemoveAfterActionPerformedHandler
(RemoveOperation.AfterActionPerformedEvent<ReportInputParameter> event) protected void
protected void
protected void
parametersDcOnItemPropertyChangeEvent
(InstanceContainer.ItemPropertyChangeEvent<ReportInputParameter> e) protected void
protected void
protected void
setValidationScriptGroupBoxCaption
(Boolean onOffFlag) protected void
protected String
Methods inherited from class io.jmix.ui.screen.ScreenFragment
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
-
Field Details
-
inputParametersTable
-
moveUpBtn
-
moveDownBtn
-
validationScriptGroupBox
-
parametersDc
-
emailTemplateDc
-
messages
-
-
Constructor Details
-
ParametersFragment
public ParametersFragment()
-
-
Method Details
-
inputParametersTableRemoveAfterActionPerformedHandler
@Install(to="inputParametersTable.remove", subject="afterActionPerformedHandler") protected void inputParametersTableRemoveAfterActionPerformedHandler(RemoveOperation.AfterActionPerformedEvent<ReportInputParameter> event) -
inputParametersTableCreateInitializer
@Install(to="inputParametersTable.create", subject="initializer") protected void inputParametersTableCreateInitializer(ReportInputParameter parameter) -
inputParametersTableCreateFromTemplate
@Subscribe("inputParametersTable.createFromTemplate") protected void inputParametersTableCreateFromTemplate(Action.ActionPerformedEvent event) -
inputParametersTableMoveUp
@Subscribe("inputParametersTable.up") protected void inputParametersTableMoveUp(Action.ActionPerformedEvent event) -
inputParametersTableMoveDown
@Subscribe("inputParametersTable.down") protected void inputParametersTableMoveDown(Action.ActionPerformedEvent event) -
reportDcOnItemPropertyChangeEvent
@Subscribe(id="reportDc", target=DATA_CONTAINER) protected void reportDcOnItemPropertyChangeEvent(InstanceContainer.ItemPropertyChangeEvent<Report> e) -
reportDcOnItemChangeEvent
@Subscribe(id="reportDc", target=DATA_CONTAINER) protected void reportDcOnItemChangeEvent(InstanceContainer.ItemChangeEvent<Report> e) -
parametersDcOnItemPropertyChangeEvent
@Subscribe(id="parametersDc", target=DATA_CONTAINER) protected void parametersDcOnItemPropertyChangeEvent(InstanceContainer.ItemPropertyChangeEvent<ReportInputParameter> e) -
parametersDcOnItemChangeEvent
@Subscribe(id="parametersDc", target=DATA_CONTAINER) protected void parametersDcOnItemChangeEvent(InstanceContainer.ItemChangeEvent<ReportInputParameter> e) -
orderParameters
protected void orderParameters() -
setValidationScriptGroupBoxCaption
-
splitCamelCase
-
sortParametersByPosition
protected void sortParametersByPosition()
-