Class DaysOfWeekEditAction
java.lang.Object
io.jmix.flowui.kit.action.AbstractAction
io.jmix.flowui.kit.action.BaseAction
io.jmix.flowui.action.SecuredBaseAction
io.jmix.flowui.action.valuepicker.PickerAction<DaysOfWeekEditAction,PickerComponent<DaysOfWeek>,DaysOfWeek>
io.jmix.fullcalendarflowui.action.DaysOfWeekEditAction
- All Implemented Interfaces:
ExecutableAction
,SecuredAction
,TargetAction<PickerComponent<DaysOfWeek>>
,Action
,HasShortcutCombination
,org.springframework.beans.factory.InitializingBean
@ActionType("fullcalendar_daysOfWeekEdit")
public class DaysOfWeekEditAction
extends PickerAction<DaysOfWeekEditAction,PickerComponent<DaysOfWeek>,DaysOfWeek>
implements org.springframework.beans.factory.InitializingBean
Action is used for editing
DaysOfWeek
datatype in ValuePicker
field.-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.action.SecuredBaseAction
SecuredBaseAction.EnabledRule
-
Field Summary
Modifier and TypeFieldDescriptionprotected FullCalendarProperties
protected CurrentAuthentication
static final String
protected Messages
protected UiComponents
Fields inherited from class io.jmix.flowui.action.valuepicker.PickerAction
target
Fields inherited from class io.jmix.flowui.action.SecuredBaseAction
enabledByUiPermissions, enabledRules, visibleByUiPermissions
Fields inherited from class io.jmix.flowui.kit.action.BaseAction
enabledExplicitly, visibleExplicitly
Fields inherited from class io.jmix.flowui.kit.action.AbstractAction
description, enabled, eventBus, icon, id, shortcutCombination, text, variant, visible
Fields inherited from interface io.jmix.flowui.kit.action.Action
PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT_COMBINATION, PROP_TEXT, PROP_VARIANT, PROP_VISIBLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected com.vaadin.flow.component.dialog.Dialog
createEditorDialog
(DaysOfWeek daysOfWeek) protected com.vaadin.flow.component.button.Button
createHeaderCloseButton
(com.vaadin.flow.component.dialog.Dialog dialog) void
execute()
Executes theAction
protected void
protected void
onCancelBtnClick
(com.vaadin.flow.component.dialog.Dialog dialog) protected void
onCloseButtonClick
(com.vaadin.flow.component.dialog.Dialog dialog) protected void
onOkBtnClick
(com.vaadin.flow.component.dialog.Dialog dialog, Set<DayOfWeek> selectedValues) void
setCalendarFlowuiProperties
(FullCalendarProperties calendarFlowuiProperties) void
setCurrentAuthentication
(CurrentAuthentication currentAuthentication) void
setMessages
(Messages messages) void
setUiComponents
(UiComponents uiComponents) Methods inherited from class io.jmix.flowui.action.valuepicker.PickerAction
actionPerform, checkTarget, getTarget, isApplicable, setTarget, withEnabled, withEnabledByUiPermissions, withHandler, withIcon, withIcon, withShortcutCombination, withTarget, withText, withTitle, withVariant, withVisible, withVisibleByUiPermissions
Methods inherited from class io.jmix.flowui.action.SecuredBaseAction
addEnabledRule, isEnabledByRule, isEnabledByUiPermissions, isPermitted, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabledByUiPermissions, setVisibleByUiPermissions
Methods inherited from class io.jmix.flowui.kit.action.BaseAction
addActionPerformedListener, setEnabled, setEnabledInternal, setVisible, setVisibleInternal
Methods inherited from class io.jmix.flowui.kit.action.AbstractAction
addPropertyChangeListener, firePropertyChange, getDescription, getEventBus, getIcon, getId, getShortcutCombination, getText, getVariant, hasListener, isEnabled, isVisible, setDescription, setIcon, setShortcutCombination, setText, setVariant
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.kit.action.Action
addPropertyChangeListener, getDescription, getIcon, getId, getText, getVariant, isEnabled, isVisible, refreshState, setDescription, setEnabled, setIcon, setText, setVariant, setVisible
Methods inherited from interface io.jmix.flowui.kit.component.HasShortcutCombination
getShortcutCombination, setShortcutCombination
-
Field Details
-
ID
- See Also:
-
messages
-
calendarFlowuiProperties
-
currentAuthentication
-
uiComponents
-
-
Constructor Details
-
DaysOfWeekEditAction
public DaysOfWeekEditAction() -
DaysOfWeekEditAction
-
-
Method Details
-
setMessages
-
setCurrentAuthentication
-
setCalendarFlowuiProperties
-
setUiComponents
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
initAction
protected void initAction()- Overrides:
initAction
in classPickerAction<DaysOfWeekEditAction,
PickerComponent<DaysOfWeek>, DaysOfWeek>
-
execute
public void execute()Description copied from interface:ExecutableAction
Executes theAction
- Specified by:
execute
in interfaceExecutableAction
-
createEditorDialog
protected com.vaadin.flow.component.dialog.Dialog createEditorDialog(@Nullable DaysOfWeek daysOfWeek) -
createHeaderCloseButton
protected com.vaadin.flow.component.button.Button createHeaderCloseButton(com.vaadin.flow.component.dialog.Dialog dialog) -
onOkBtnClick
-
onCancelBtnClick
protected void onCancelBtnClick(com.vaadin.flow.component.dialog.Dialog dialog) -
onCloseButtonClick
protected void onCloseButtonClick(com.vaadin.flow.component.dialog.Dialog dialog) -
getAllDaysOfWeek
-