Package io.jmix.reportsflowui.view.run
Class InputParametersFragment
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.formlayout.FormLayout>
io.jmix.reportsflowui.view.run.InputParametersFragment
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,Serializable
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
public class InputParametersFragment
extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.formlayout.FormLayout>
implements org.springframework.context.ApplicationContextAware, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasEnabled, org.springframework.beans.factory.InitializingBean
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected boolean
protected DataComponents
protected com.vaadin.flow.component.formlayout.FormLayout
protected ReportInputParameter
protected Messages
protected Metadata
protected ObjectToStringConverter
protected JmixComboBox<ReportOutputType>
protected ParameterClassResolver
protected ParameterComponentGenerationStrategy
protected Report
protected EntityComboBox<ReportTemplate>
protected CollectionContainer<ReportTemplate>
protected UiComponents
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
createComponent
(ReportInputParameter parameter, boolean visible) protected com.vaadin.flow.component.formlayout.FormLayout
protected void
void
protected void
onInit()
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setBulkPrint
(boolean bulkPrint) void
setInputParameter
(ReportInputParameter inputParameter) void
setParameters
(Map<String, Object> parameters) void
protected void
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
Methods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabled
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
templateReportsDc
-
templateComboBox
-
outputTypeComboBox
-
formLayout
protected com.vaadin.flow.component.formlayout.FormLayout formLayout -
uiComponents
-
messages
-
metadata
-
parameterComponentGenerationStrategy
-
parameterClassResolver
-
objectToStringConverter
-
dataComponents
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
report
-
parameters
-
bulkPrint
protected boolean bulkPrint -
inputParameter
-
parameterComponents
-
-
Constructor Details
-
InputParametersFragment
public InputParametersFragment()
-
-
Method Details
-
updateOutputTypes
protected void updateOutputTypes() -
initContent
protected com.vaadin.flow.component.formlayout.FormLayout initContent()- Overrides:
initContent
in classcom.vaadin.flow.component.Composite<com.vaadin.flow.component.formlayout.FormLayout>
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
setParameters
-
setBulkPrint
public void setBulkPrint(boolean bulkPrint) -
setInputParameter
-
onInit
protected void onInit() -
initLayout
protected void initLayout() -
collectParameters
-
createComponent
-
initTemplateAndOutputSelect
public void initTemplateAndOutputSelect() -
getReport
-
setReport
-
getReportTemplate
-
getOutputType
-