Class PivotTableEditFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.reportsui.screen.template.edit.DescriptionEditFragment
io.jmix.reportsui.screen.template.edit.PivotTableEditFragment
- All Implemented Interfaces:
FrameOwner
@UiController("report_PivotTableEdit.fragment")
@UiDescriptor("pivot-table-edit-fragment.xml")
public class PivotTableEditFragment
extends DescriptionEditFragment
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.ScreenFragment
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Actions
protected CollectionContainer<PivotTableAggregation>
protected Table<PivotTableAggregation>
static final Set<RendererType>
protected GroupBoxLayout
protected GroupBoxLayout
protected RandomPivotTableDataGenerator
protected DataManager
protected ComboBox<PivotTableAggregation>
protected ComboBox<RendererType>
protected Fragments
static final Set<RendererType>
protected MessageBundle
protected Messages
protected InstanceContainer<PivotTableDescription>
protected PopupButton
protected CollectionContainer<PivotTableProperty>
protected GroupTable<PivotTableProperty>
protected ScreenValidation
Fields inherited from class io.jmix.reportsui.screen.template.edit.DescriptionEditFragment
previewBox, reportTemplate
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ScreenOptions
protected ScreenOptions
boolean
protected PivotTableDescription
protected CreateAction<PivotTableProperty>
createPropertyCreateAction
(PivotTablePropertyType propertyType) protected PivotTableDescription
protected void
protected void
protected void
initPreviewContent
(BoxLayout previewBox) protected void
protected void
boolean
isApplicable
(ReportOutputType reportOutputType) boolean
void
onAggregationsDcCollectionChange
(CollectionContainer.CollectionChangeEvent<PivotTableAggregation> e) protected void
onInit
(ScreenFragment.InitEvent event) void
protected void
protected void
setBands
(Collection<BandDefinition> bands) void
setItem
(ReportTemplate reportTemplate) protected ValidationErrors
validatePivotTableDescription
(PivotTableDescription description) Methods inherited from class io.jmix.reportsui.screen.template.edit.DescriptionEditFragment
getReportTemplate, hidePreview, setVisible, showPreview
Methods inherited from class io.jmix.ui.screen.ScreenFragment
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
-
Field Details
-
C3_RENDERER_TYPES
-
HEATMAP_RENDERER_TYPES
-
pivotTableDc
-
aggregationsDc
-
propertyDc
-
propertyTable
-
aggregationsTable
-
defaultRendererField
-
defaultAggregationField
-
bandNameField
-
customC3GroupBox
-
customHeatmapGroupBox
-
propertiesCreateButton
-
messages
-
messageBundle
-
actions
-
dataGenerator
-
fragments
-
screenValidation
-
dataManager
-
-
Constructor Details
-
PivotTableEditFragment
public PivotTableEditFragment()
-
-
Method Details
-
onInit
- Overrides:
onInit
in classDescriptionEditFragment
-
setItem
- Overrides:
setItem
in classDescriptionEditFragment
-
applyChanges
public boolean applyChanges()- Specified by:
applyChanges
in classDescriptionEditFragment
-
isApplicable
- Specified by:
isApplicable
in classDescriptionEditFragment
-
isSupportPreview
public boolean isSupportPreview()- Specified by:
isSupportPreview
in classDescriptionEditFragment
-
createDefaultPivotTableDescription
-
initPreviewContent
- Specified by:
initPreviewContent
in classDescriptionEditFragment
-
getPivotTableDescription
-
validatePivotTableDescription
-
setBands
-
initRendererTypes
protected void initRendererTypes() -
onAggregationsDcCollectionChange
@Subscribe(id="aggregationsDc", target=DATA_CONTAINER) public void onAggregationsDcCollectionChange(CollectionContainer.CollectionChangeEvent<PivotTableAggregation> e) -
aggregationsTableCreateScreenOptionsSupplier
@Install(to="aggregationsTable.create", subject="screenOptionsSupplier") protected ScreenOptions aggregationsTableCreateScreenOptionsSupplier() -
aggregationsTableEditScreenOptionsSupplier
@Install(to="aggregationsTable.edit", subject="screenOptionsSupplier") protected ScreenOptions aggregationsTableEditScreenOptionsSupplier() -
initCustomGroups
protected void initCustomGroups() -
initDefaultRenderer
protected void initDefaultRenderer() -
onPropertyDcCollectionChange
@Subscribe(id="propertyDc", target=DATA_CONTAINER) public void onPropertyDcCollectionChange(CollectionContainer.CollectionChangeEvent<PivotTableProperty> event) -
initPropertyTable
protected void initPropertyTable() -
propertyTableEditAfterCommitHandler
@Install(to="propertyTable.edit", subject="afterCommitHandler") protected void propertyTableEditAfterCommitHandler(PivotTableProperty property) -
createPropertyCreateAction
protected CreateAction<PivotTableProperty> createPropertyCreateAction(PivotTablePropertyType propertyType)
-