Class InputParametersFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.reportsui.screen.report.run.InputParametersFragment
- All Implemented Interfaces:
FrameOwner
@UiController("report_InputParameters.fragment")
@UiDescriptor("input-parameters-fragment.xml")
public class InputParametersFragment
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 boolean
protected DataManager
protected ReportInputParameter
protected com.haulmont.yarg.util.converter.ObjectToStringConverter
protected ComboBox<ReportOutputType>
protected ParameterClassResolver
protected ParameterFieldCreator
static final String
protected GridLayout
protected Report
static final String
protected ComboBox<ReportTemplate>
protected CollectionContainer<ReportTemplate>
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
createComponent
(ReportInputParameter parameter, int currentGridRow, boolean visible) protected void
void
protected void
onInit
(ScreenFragment.InitEvent event) void
setBulkPrint
(boolean bulkPrint) void
setInputParameter
(ReportInputParameter inputParameter) protected void
setOutputTypeVisible
(boolean visible) void
setParameters
(Map<String, Object> parameters) void
protected void
setTemplateVisible
(boolean visible) protected void
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
-
REPORT_PARAMETER
- See Also:
-
PARAMETERS_PARAMETER
- See Also:
-
report
-
parameters
-
bulkPrint
protected boolean bulkPrint -
inputParameter
-
templateComboBox
-
outputTypeComboBox
-
outputTypeLabel
-
templateLabel
-
parametersGrid
-
templateReportsDc
-
objectToStringConverter
@Autowired protected com.haulmont.yarg.util.converter.ObjectToStringConverter objectToStringConverter -
dataManager
-
parameterClassResolver
-
parameterComponents
-
parameterFieldCreator
-
-
Constructor Details
-
InputParametersFragment
public InputParametersFragment()
-
-
Method Details
-
setReport
-
setParameters
-
setBulkPrint
public void setBulkPrint(boolean bulkPrint) -
setInputParameter
-
onInit
-
initLayout
protected void initLayout() -
collectParameters
-
createComponent
-
initTemplateAndOutputSelect
public void initTemplateAndOutputSelect() -
updateOutputTypes
protected void updateOutputTypes() -
setOutputTypeVisible
protected void setOutputTypeVisible(boolean visible) -
setTemplateVisible
protected void setTemplateVisible(boolean visible) -
getReport
-
getReportTemplate
-
getOutputType
-