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
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected booleanprotected com.vaadin.flow.component.formlayout.FormLayoutprotected ReportInputParameterprotected Messagesprotected Metadataprotected ObjectToStringConverterprotected JmixComboBox<ReportOutputType> protected ParameterClassResolverprotected ParameterComponentGenerationStrategyprotected Stringprotected Reportprotected ReportPresentationRegistryprotected ReportRepositoryprotected EntityComboBox<ReportTemplate> protected UiComponents -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidcreateComponent(ReportInputParameter parameter, boolean visible) protected @Nullable ReportTemplate@Nullable ReportOutputTypeprotected ReportExecutionPresentation@Nullable ReportTemplateprotected voidprotected com.vaadin.flow.component.formlayout.FormLayoutprotected voidvoidprotected voidonInit()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetBulkPrint(boolean bulkPrint) voidsetInputParameter(ReportInputParameter inputParameter) voidsetParameters(Map<String, Object> parameters) voidsetPresentationId(String presentationId) voidprotected voidMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
bindEnabled, isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasSize
bindHeight, bindWidth, getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
templateComboBox
-
outputTypeComboBox
-
formLayout
protected com.vaadin.flow.component.formlayout.FormLayout formLayout -
reportRepository
-
uiComponents
-
messages
-
metadata
-
parameterComponentGenerationStrategy
-
parameterClassResolver
-
objectToStringConverter
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
reportPresentationRegistry
-
report
-
parameters
-
bulkPrint
protected boolean bulkPrint -
presentationId
-
inputParameter
-
parameterComponents
-
-
Constructor Details
-
InputParametersFragment
public InputParametersFragment()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
initComponent
protected void initComponent() -
initContent
protected com.vaadin.flow.component.formlayout.FormLayout initContent()- Overrides:
initContentin classcom.vaadin.flow.component.Composite<com.vaadin.flow.component.formlayout.FormLayout>
-
onInit
protected void onInit() -
initLayout
protected void initLayout() -
setParameters
-
setBulkPrint
public void setBulkPrint(boolean bulkPrint) -
setPresentationId
-
setInputParameter
-
initTemplateAndOutputSelect
public void initTemplateAndOutputSelect() -
updateOutputTypes
protected void updateOutputTypes() -
collectParameters
-
createComponent
-
getReport
-
setReport
-
getReportTemplate
-
getOutputType
-
getEffectiveTemplate
-
getPresentation
-