Package io.jmix.dashboardschart.screen
Class ChartWidgetEdit
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.dashboardschart.screen.ChartWidgetEdit
- All Implemented Interfaces:
FrameOwner
@UiController("dshbrd_ChartWidgetEdit")
@UiDescriptor("chart-widget-edit.xml")
public class ChartWidgetEdit
extends ScreenFragment
-
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 DataManager
protected Boolean
protected EntityComboBox<Report>
protected UUID
protected EntityComboBox<ReportTemplate>
protected UUID
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 List<ReportTemplate>
getChartsTemplates
(Report report) void
onInit
(ScreenFragment.InitEvent initEvent) void
void
void
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
-
dataManager
-
reportComboBox
-
templateComboBox
-
reportId
-
templateId
-
refreshAutomatically
-
-
Constructor Details
-
ChartWidgetEdit
public ChartWidgetEdit()
-
-
Method Details
-
onInit
-
getChartsTemplates
-
onReportComboBoxValueChange
@Subscribe("reportComboBox") public void onReportComboBoxValueChange(HasValue.ValueChangeEvent<Report> event) -
onTemplateComboBoxValueChange
@Subscribe("templateComboBox") public void onTemplateComboBoxValueChange(HasValue.ValueChangeEvent<ReportTemplate> event) -
onRefreshAutomaticallyCheckboxValueChange
@Subscribe("refreshAutomaticallyCheckbox") public void onRefreshAutomaticallyCheckboxValueChange(HasValue.ValueChangeEvent<Boolean> event)
-