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 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 Summary
Constructors -
Method Summary
Modifier 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.Composite
getChildren, getContent, getElementMethods 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, 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
isEnabled, setEnabledMethods 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, setWidthFullMethods 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:
initContentin classcom.vaadin.flow.component.Composite<com.vaadin.flow.component.formlayout.FormLayout>
-
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
-
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
-