Class TableEditFragment
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<C>
io.jmix.reportsflowui.view.template.AbstractDescriptionEditFragment<TableEditFragmentContent>
io.jmix.reportsflowui.view.template.TableEditFragment
- All Implemented Interfaces:
- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.HasElement,- com.vaadin.flow.component.HasStyle,- Serializable,- org.springframework.beans.factory.Aware,- org.springframework.beans.factory.InitializingBean,- org.springframework.context.ApplicationContextAware
public class TableEditFragment
extends AbstractDescriptionEditFragment<TableEditFragmentContent>
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Actionsprotected org.springframework.context.ApplicationContextprotected TableEditFragmentContentprotected DataComponentsstatic final intprotected Messagesprotected Metadataprotected Notificationsprotected CollectionPropertyContainer<TemplateTableBand>protected CollectionPropertyContainer<TemplateTableColumn>protected InstanceContainer<TemplateTableDescription>protected UiComponentsstatic final intFields inherited from class io.jmix.reportsflowui.view.template.AbstractDescriptionEditFragmentpreviewBox, reportTemplate
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbooleanprotected voidprotected booleanprotected booleanprotected voidchangeOrderBandsOfIndexes(int order) protected booleanprotected booleanprotected booleanprotected TableEditFragmentContentprotected TemplateTableDescriptionprotected voidprotected voidprotected voidprotected TableEditFragmentContentprotected voidinitPreviewContent(com.vaadin.flow.component.orderedlayout.VerticalLayout previewBox) booleanisApplicable(ReportOutputType reportOutputType) booleanprotected voidprotected voidonBandDataGridSelection(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<TemplateTableBand>, TemplateTableBand> event) protected voidprotected voidonBandRemoveAfterActionPerformed(RemoveOperation.AfterActionPerformedEvent<TemplateTableBand> event) protected voidprotected voidprotected voidprotected voidonColumnRemoveAfterActionPerformed(RemoveOperation.AfterActionPerformedEvent<TemplateTableColumn> event) protected voidprotected voidprotected voidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetReportTemplate(ReportTemplate reportTemplate) Methods inherited from class io.jmix.reportsflowui.view.template.AbstractDescriptionEditFragmentgetPreviewBox, getReportTemplate, hidePreview, setPreviewBox, showPreviewMethods 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.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
- 
Field Details- 
UPpublic static final int UP- See Also:
 
- 
DOWNpublic static final int DOWN- See Also:
 
- 
applicationContextprotected org.springframework.context.ApplicationContext applicationContext
- 
metadata
- 
dataComponents
- 
uiComponents
- 
actions
- 
notifications
- 
messages
- 
templateTableDescriptionDc
- 
templateTableBandsDc
- 
templateTableColumnsDc
- 
 
- 
- 
Constructor Details- 
TableEditFragmentpublic TableEditFragment()
 
- 
- 
Method Details- 
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
 
- 
afterPropertiesSetpublic void afterPropertiesSet()- Specified by:
- afterPropertiesSetin interface- org.springframework.beans.factory.InitializingBean
 
- 
autowireDependenciesprotected void autowireDependencies()
- 
initComponentprotected void initComponent()
- 
createContent
- 
initBandsprotected void initBands()
- 
initColumnsprotected void initColumns()
- 
onBandDataGridSelectionprotected void onBandDataGridSelection(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<TemplateTableBand>, TemplateTableBand> event) 
- 
onBandCreateActionPerformed
- 
onBandRemoveAfterActionPerformedprotected void onBandRemoveAfterActionPerformed(RemoveOperation.AfterActionPerformedEvent<TemplateTableBand> event) 
- 
onBandUpActionPerformed
- 
bandUpEnabledRuleprotected boolean bandUpEnabledRule()
- 
onBandDownActionPerformed
- 
bandDownEnabledRuleprotected boolean bandDownEnabledRule()
- 
onColumnCreateActionPerformed
- 
columnCreateEnabledRuleprotected boolean columnCreateEnabledRule()
- 
onColumnRemoveAfterActionPerformedprotected void onColumnRemoveAfterActionPerformed(RemoveOperation.AfterActionPerformedEvent<TemplateTableColumn> event) 
- 
onColumnUpActionPerformed
- 
columnUpEnabledRuleprotected boolean columnUpEnabledRule()
- 
onColumnDownActionPerformed
- 
columnDownEnabledRuleprotected boolean columnDownEnabledRule()
- 
setReportTemplate- Overrides:
- setReportTemplatein class- AbstractDescriptionEditFragment<TableEditFragmentContent>
 
- 
initContent- Overrides:
- initContentin class- com.vaadin.flow.component.Composite<TableEditFragmentContent>
 
- 
isSupportPreviewpublic boolean isSupportPreview()- Specified by:
- isSupportPreviewin class- AbstractDescriptionEditFragment<TableEditFragmentContent>
 
- 
isApplicable- Specified by:
- isApplicablein class- AbstractDescriptionEditFragment<TableEditFragmentContent>
 
- 
applyChangespublic boolean applyChanges()- Specified by:
- applyChangesin class- AbstractDescriptionEditFragment<TableEditFragmentContent>
 
- 
initPreviewContentprotected void initPreviewContent(com.vaadin.flow.component.orderedlayout.VerticalLayout previewBox) - Specified by:
- initPreviewContentin class- AbstractDescriptionEditFragment<TableEditFragmentContent>
 
- 
createDefaultTemplateTableDescription
- 
changeOrderBandsOfIndexesprotected void changeOrderBandsOfIndexes(int order) 
- 
refreshBandActionStatesprotected void refreshBandActionStates()
- 
refreshColumnActionStatesprotected void refreshColumnActionStates()
 
-