@UiController(value="report_PivotTableEdit.fragment") @UiDescriptor(value="pivot-table-edit-fragment.xml") public class PivotTableEditFragment extends DescriptionEditFragment
Modifier and Type | Field and Description |
---|---|
protected io.jmix.ui.Actions |
actions |
protected io.jmix.ui.model.CollectionContainer<PivotTableAggregation> |
aggregationsDc |
protected io.jmix.ui.component.Table<PivotTableAggregation> |
aggregationsTable |
protected io.jmix.ui.component.ComboBox<java.lang.String> |
bandNameField |
static java.util.Set<RendererType> |
C3_RENDERER_TYPES |
protected io.jmix.ui.component.GroupBoxLayout |
customC3GroupBox |
protected io.jmix.ui.component.GroupBoxLayout |
customHeatmapGroupBox |
protected RandomPivotTableDataGenerator |
dataGenerator |
protected io.jmix.core.DataManager |
dataManager |
protected io.jmix.ui.component.ComboBox<PivotTableAggregation> |
defaultAggregationField |
protected io.jmix.ui.component.ComboBox<RendererType> |
defaultRendererField |
protected io.jmix.ui.Fragments |
fragments |
static java.util.Set<RendererType> |
HEATMAP_RENDERER_TYPES |
protected io.jmix.core.Messages |
messages |
protected io.jmix.ui.model.InstanceContainer<PivotTableDescription> |
pivotTableDc |
protected io.jmix.ui.component.PopupButton |
propertiesCreateButton |
protected io.jmix.ui.model.CollectionContainer<PivotTableProperty> |
propertyDc |
protected io.jmix.ui.component.GroupTable<PivotTableProperty> |
propertyTable |
protected io.jmix.ui.screen.ScreenValidation |
screenValidation |
previewBox, reportTemplate
Constructor and Description |
---|
PivotTableEditFragment() |
Modifier and Type | Method and Description |
---|---|
protected io.jmix.ui.screen.ScreenOptions |
aggregationsTableCreateScreenOptionsSupplier() |
protected io.jmix.ui.screen.ScreenOptions |
aggregationsTableEditScreenOptionsSupplier() |
boolean |
applyChanges() |
protected PivotTableDescription |
createDefaultPivotTableDescription() |
protected io.jmix.ui.action.list.CreateAction<PivotTableProperty> |
createPropertyCreateAction(PivotTablePropertyType propertyType) |
protected PivotTableDescription |
getPivotTableDescription() |
protected void |
initCustomGroups() |
protected void |
initDefaultRenderer() |
protected void |
initPreviewContent(io.jmix.ui.component.BoxLayout previewBox) |
protected void |
initPropertyTable() |
protected void |
initRendererTypes() |
boolean |
isApplicable(ReportOutputType reportOutputType) |
boolean |
isSupportPreview() |
void |
onAggregationsDcCollectionChange(io.jmix.ui.model.CollectionContainer.CollectionChangeEvent<PivotTableAggregation> e) |
protected void |
onInit(io.jmix.ui.screen.ScreenFragment.InitEvent event) |
void |
onPropertyDcCollectionChange(io.jmix.ui.model.CollectionContainer.CollectionChangeEvent<PivotTableProperty> event) |
protected void |
propertyTableEditAfterCommitHandler(PivotTableProperty property) |
protected void |
setBands(java.util.Collection<BandDefinition> bands) |
void |
setItem(ReportTemplate reportTemplate) |
protected io.jmix.ui.component.ValidationErrors |
validatePivotTableDescription(PivotTableDescription description) |
getReportTemplate, hidePreview, setVisible, showPreview
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
public static final java.util.Set<RendererType> C3_RENDERER_TYPES
public static final java.util.Set<RendererType> HEATMAP_RENDERER_TYPES
@Autowired protected io.jmix.ui.model.InstanceContainer<PivotTableDescription> pivotTableDc
@Autowired protected io.jmix.ui.model.CollectionContainer<PivotTableAggregation> aggregationsDc
@Autowired protected io.jmix.ui.model.CollectionContainer<PivotTableProperty> propertyDc
@Autowired protected io.jmix.ui.component.GroupTable<PivotTableProperty> propertyTable
@Autowired protected io.jmix.ui.component.Table<PivotTableAggregation> aggregationsTable
@Autowired protected io.jmix.ui.component.ComboBox<RendererType> defaultRendererField
@Autowired protected io.jmix.ui.component.ComboBox<PivotTableAggregation> defaultAggregationField
@Autowired protected io.jmix.ui.component.ComboBox<java.lang.String> bandNameField
@Autowired protected io.jmix.ui.component.GroupBoxLayout customC3GroupBox
@Autowired protected io.jmix.ui.component.GroupBoxLayout customHeatmapGroupBox
@Autowired protected io.jmix.ui.component.PopupButton propertiesCreateButton
@Autowired protected io.jmix.core.Messages messages
@Autowired protected io.jmix.ui.Actions actions
@Autowired protected RandomPivotTableDataGenerator dataGenerator
@Autowired protected io.jmix.ui.Fragments fragments
@Autowired protected io.jmix.ui.screen.ScreenValidation screenValidation
@Autowired protected io.jmix.core.DataManager dataManager
@Subscribe protected void onInit(io.jmix.ui.screen.ScreenFragment.InitEvent event)
onInit
in class DescriptionEditFragment
public void setItem(ReportTemplate reportTemplate)
setItem
in class DescriptionEditFragment
public boolean applyChanges()
applyChanges
in class DescriptionEditFragment
public boolean isApplicable(ReportOutputType reportOutputType)
isApplicable
in class DescriptionEditFragment
public boolean isSupportPreview()
isSupportPreview
in class DescriptionEditFragment
protected PivotTableDescription createDefaultPivotTableDescription()
protected void initPreviewContent(io.jmix.ui.component.BoxLayout previewBox)
initPreviewContent
in class DescriptionEditFragment
protected PivotTableDescription getPivotTableDescription()
protected io.jmix.ui.component.ValidationErrors validatePivotTableDescription(PivotTableDescription description)
protected void setBands(java.util.Collection<BandDefinition> bands)
protected void initRendererTypes()
@Subscribe(id="aggregationsDc", target=DATA_CONTAINER) public void onAggregationsDcCollectionChange(io.jmix.ui.model.CollectionContainer.CollectionChangeEvent<PivotTableAggregation> e)
@Install(to="aggregationsTable.create", subject="screenOptionsSupplier") protected io.jmix.ui.screen.ScreenOptions aggregationsTableCreateScreenOptionsSupplier()
@Install(to="aggregationsTable.edit", subject="screenOptionsSupplier") protected io.jmix.ui.screen.ScreenOptions aggregationsTableEditScreenOptionsSupplier()
protected void initCustomGroups()
protected void initDefaultRenderer()
@Subscribe(id="propertyDc", target=DATA_CONTAINER) public void onPropertyDcCollectionChange(io.jmix.ui.model.CollectionContainer.CollectionChangeEvent<PivotTableProperty> event)
protected void initPropertyTable()
@Install(to="propertyTable.edit", subject="afterCommitHandler") protected void propertyTableEditAfterCommitHandler(PivotTableProperty property)
protected io.jmix.ui.action.list.CreateAction<PivotTableProperty> createPropertyCreateAction(PivotTablePropertyType propertyType)