Class VCalendarAction

  • All Implemented Interfaces:
    com.google.gwt.core.client.Scheduler.ScheduledCommand, com.google.gwt.user.client.Command

    public class VCalendarAction
    extends Action
    Action performed by the calendar
    Since:
    7.1
    Author:
    Vaadin Ltd.
    • Constructor Detail

      • VCalendarAction

        public VCalendarAction​(CalendarConnector owner)
        Parameters:
        owner -
      • VCalendarAction

        public VCalendarAction​(CalendarConnector owner,
                               CalendarServerRpc rpc,
                               String key)
        Constructor
        Parameters:
        owner - The owner who trigger this kinds of events
        rpc - The CalendarRpc which is used for executing actions
        key - The unique action key which identifies this particular action
    • Method Detail

      • execute

        public void execute()
        Description copied from class: Action
        Executed when action fired
        Specified by:
        execute in interface com.google.gwt.user.client.Command
        Specified by:
        execute in interface com.google.gwt.core.client.Scheduler.ScheduledCommand
        Specified by:
        execute in class Action
      • getActionStartDate

        public Date getActionStartDate()
        Get the date and time when the action starts
        Returns:
      • setActionStartDate

        public void setActionStartDate​(Date actionStartDate)
        Set the date when the actions start
        Parameters:
        actionStartDate - The date and time when the action starts
      • getActionEndDate

        public Date getActionEndDate()
        Get the date and time when the action ends
        Returns:
      • setActionEndDate

        public void setActionEndDate​(Date actionEndDate)
        Set the date and time when the action ends
        Parameters:
        actionEndDate - The date and time when the action ends