Class 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.
  • Field Details

  • Constructor Details

    • DaysOfWeekEditAction

      public DaysOfWeekEditAction()
    • DaysOfWeekEditAction

      public DaysOfWeekEditAction(String id)
  • Method Details

    • setMessages

      @Autowired public void setMessages(Messages messages)
    • setCurrentAuthentication

      @Autowired public void setCurrentAuthentication(CurrentAuthentication currentAuthentication)
    • setCalendarFlowuiProperties

      @Autowired public void setCalendarFlowuiProperties(FullCalendarProperties calendarFlowuiProperties)
    • setUiComponents

      @Autowired public void setUiComponents(UiComponents uiComponents)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • initAction

      protected void initAction()
      Overrides:
      initAction in class PickerAction<DaysOfWeekEditAction,PickerComponent<DaysOfWeek>,DaysOfWeek>
    • execute

      public void execute()
      Description copied from interface: ExecutableAction
      Executes the Action
      Specified by:
      execute in interface ExecutableAction
    • 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

      protected void onOkBtnClick(com.vaadin.flow.component.dialog.Dialog dialog, Set<DayOfWeek> selectedValues)
    • onCancelBtnClick

      protected void onCancelBtnClick(com.vaadin.flow.component.dialog.Dialog dialog)
    • onCloseButtonClick

      protected void onCloseButtonClick(com.vaadin.flow.component.dialog.Dialog dialog)
    • getAllDaysOfWeek

      protected List<DayOfWeek> getAllDaysOfWeek()