Package io.jmix.dashboardschart.screen
Class ChartWidget
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.dashboardschart.screen.ChartWidget
- All Implemented Interfaces:
RefreshableWidget
,FrameOwner
@DashboardWidget(name="Chart",
editFragmentId="dshbrd_ChartWidgetEdit")
@UiController("dshbrd_ChartWidget")
@UiDescriptor("chart-widget.xml")
public class ChartWidget
extends ScreenFragment
implements RefreshableWidget
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Used for default initialization in ChartImpl.JmixAmchartsSceneExt#setupDefaults(AbstractChart)Nested classes/interfaces inherited from class io.jmix.ui.screen.ScreenFragment
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected DataManager
protected Boolean
protected UUID
protected CustomChart
protected ReportRunner
protected UUID
protected Widget
protected WidgetRepository
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 TypeMethodDescriptionvoid
onInit
(ScreenFragment.InitEvent initEvent) void
refresh
(DashboardEvent dashboardEvent) 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
-
CAPTION
- See Also:
-
dataManager
-
reportRunner
-
widgetRepository
-
widget
-
reportId
-
refreshAutomatically
-
templateId
-
errorLabel
-
reportJsonChart
-
-
Constructor Details
-
ChartWidget
public ChartWidget()
-
-
Method Details
-
onInit
-
refresh
- Specified by:
refresh
in interfaceRefreshableWidget
-
getReportChart
-