Class CanvasEditorFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.dashboardsui.screen.dashboard.editor.canvas.CanvasFragment
io.jmix.dashboardsui.screen.dashboard.editor.canvas.CanvasEditorFragment
- All Implemented Interfaces:
DashboardLayoutHolderComponent
,FrameOwner
@UiController("dshbrd_CanvasEditor.fragment")
@UiDescriptor("canvas-editor-fragment.xml")
public class CanvasEditorFragment
extends CanvasFragment
implements DashboardLayoutHolderComponent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.ScreenFragment
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent
-
Field Summary
Fields inherited from class io.jmix.dashboardsui.screen.dashboard.editor.canvas.CanvasFragment
canvas, converter, dashboard, DASHBOARD, DASHBOARD_MODEL, dashboardModel, SCREEN_NAME, vLayout
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 DashboardModelConverter
void
void
protected void
selectLayout
(Component layout, UUID layoutUuid, boolean needSelect) void
updateLayout
(DashboardModel dashboard) Methods inherited from class io.jmix.dashboardsui.screen.dashboard.editor.canvas.CanvasFragment
getDashboard, getDashboardModel, getLookupWidgets, getRefreshableWidgets, getvLayout, onInit, searchWidgets
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
-
dropModelConverter
-
uiEventPublisher
-
-
Constructor Details
-
CanvasEditorFragment
public CanvasEditorFragment()
-
-
Method Details
-
updateLayout
- Overrides:
updateLayout
in classCanvasFragment
-
getConverter
- Overrides:
getConverter
in classCanvasFragment
-
selectLayout
-
onWidgetSelectedEvent
- Specified by:
onWidgetSelectedEvent
in interfaceDashboardLayoutHolderComponent
-
onLayoutRefreshedEvent
- Specified by:
onLayoutRefreshedEvent
in interfaceDashboardLayoutHolderComponent
-