Class PaletteFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.dashboardsui.screen.dashboard.editor.palette.PaletteFragment
- All Implemented Interfaces:
DashboardLayoutHolderComponent
,FrameOwner
@UiController("dshbrd_Palette.fragment")
@UiDescriptor("palette-fragment.xml")
public class PaletteFragment
extends ScreenFragment
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
Modifier and TypeFieldDescriptionprotected ActionsProvider
protected JsonConverter
protected CollectionContainer<DashboardLayout>
protected DashboardModel
protected BoxLayout
protected BoxLayout
protected BoxLayout
protected PaletteComponentsFactory
protected Metadata
static final String
protected ScreenBuilders
protected DashboardLayoutsTree
protected UiEventPublisher
protected WidgetRepository
protected CollectionContainer<WidgetTemplate>
protected Tree<DashboardLayout>
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<DashboardLayout>
dashboardLayoutTreeDlLoadDelegate
(LoadContext<DashboardLayout> loadContext) protected void
protected void
protected void
protected void
void
void
void
void
protected 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
-
SCREEN_NAME
- See Also:
-
ddWidgetBox
-
ddLayoutBox
-
ddWidgetTemplateBox
-
widgetTemplatesDc
-
metadata
-
factory
-
converter
-
widgetRepository
-
dashboardLayoutTreeDc
-
widgetTree
-
uiEventPublisher
-
dashboardModel
-
actionsProvider
-
screenBuilders
-
tree
-
-
Constructor Details
-
PaletteFragment
public PaletteFragment()
-
-
Method Details
-
onAttach
-
onCreateWidgetTemplate
-
dashboardLayoutTreeDlLoadDelegate
@Install(to="dashboardLayoutTreeDl", target=DATA_LOADER) protected List<DashboardLayout> dashboardLayoutTreeDlLoadDelegate(LoadContext<DashboardLayout> loadContext) -
initWidgetBox
protected void initWidgetBox() -
initLayoutBox
protected void initLayoutBox() -
initWidgetTreeBox
protected void initWidgetTreeBox() -
initWidgetTemplateBox
protected void initWidgetTemplateBox() -
updateWidgetTemplates
protected void updateWidgetTemplates() -
getSketchWidgets
-
onWidgetSelectedEvent
- Specified by:
onWidgetSelectedEvent
in interfaceDashboardLayoutHolderComponent
-
onLayoutRefreshedEvent
- Specified by:
onLayoutRefreshedEvent
in interfaceDashboardLayoutHolderComponent
-
getDashboardLayoutTreeDc
-