Class CanvasFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.dashboardsui.screen.dashboard.editor.canvas.CanvasFragment
- All Implemented Interfaces:
FrameOwner
- Direct Known Subclasses:
CanvasEditorFragment
@UiController("dshbrd_Canvas.fragment")
@UiDescriptor("canvas-fragment.xml")
public class CanvasFragment
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 OrderedContainer
protected DashboardModelConverter
protected Dashboard
static final String
static final String
protected DashboardModel
static final String
protected CanvasRootLayout
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
onInit
(ScreenFragment.InitEvent event) protected <T> void
searchWidgets
(HasComponents layout, Class<T> widgetClass, List<T> wbList) void
updateLayout
(DashboardModel dashboard) 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
-
SCREEN_NAME
- See Also:
-
DASHBOARD_MODEL
- See Also:
-
DASHBOARD
- See Also:
-
canvas
-
converter
-
dashboard
-
dashboardModel
-
vLayout
-
-
Constructor Details
-
CanvasFragment
public CanvasFragment()
-
-
Method Details
-
onInit
-
getDashboardModel
-
getDashboard
-
getConverter
-
updateLayout
-
getRefreshableWidgets
-
getLookupWidgets
-
searchWidgets
-
getvLayout
-