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 SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected booleanprotected DataComponentsprotected com.vaadin.flow.component.formlayout.FormLayoutprotected ReportInputParameterprotected Messagesprotected Metadataprotected ObjectToStringConverterprotected JmixComboBox<ReportOutputType>protected ParameterClassResolverprotected ParameterComponentGenerationStrategyprotected Reportprotected EntityComboBox<ReportTemplate>protected CollectionContainer<ReportTemplate>protected UiComponents
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidprotected voidcreateComponent(ReportInputParameter parameter, boolean visible) protected 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) voidprotected voidMethods inherited from class com.vaadin.flow.component.CompositegetChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.ComponentaddListener, 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, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElementgetElementMethods inherited from interface com.vaadin.flow.component.HasEnabledisEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasSizegetHeight, 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.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
- 
Field Details- 
templateReportsDc
- 
templateComboBox
- 
outputTypeComboBox
- 
formLayoutprotected com.vaadin.flow.component.formlayout.FormLayout formLayout
- 
uiComponents
- 
messages
- 
metadata
- 
parameterComponentGenerationStrategy
- 
parameterClassResolver
- 
objectToStringConverter
- 
dataComponents
- 
applicationContextprotected org.springframework.context.ApplicationContext applicationContext
- 
report
- 
parameters
- 
bulkPrintprotected boolean bulkPrint
- 
inputParameter
- 
parameterComponents
 
- 
- 
Constructor Details- 
InputParametersFragmentpublic InputParametersFragment()
 
- 
- 
Method Details- 
updateOutputTypesprotected void updateOutputTypes()
- 
initContentprotected com.vaadin.flow.component.formlayout.FormLayout initContent()- Overrides:
- initContentin class- com.vaadin.flow.component.Composite<com.vaadin.flow.component.formlayout.FormLayout>
 
- 
afterPropertiesSetpublic void afterPropertiesSet()- Specified by:
- afterPropertiesSetin interface- org.springframework.beans.factory.InitializingBean
 
- 
setApplicationContextpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
- setApplicationContextin interface- org.springframework.context.ApplicationContextAware
- Throws:
- org.springframework.beans.BeansException
 
- 
setParameters
- 
setBulkPrintpublic void setBulkPrint(boolean bulkPrint) 
- 
setInputParameter
- 
onInitprotected void onInit()
- 
initLayoutprotected void initLayout()
- 
collectParameters
- 
createComponent
- 
initTemplateAndOutputSelectpublic void initTemplateAndOutputSelect()
- 
getReport
- 
setReport
- 
getReportTemplate
- 
getOutputType
 
-