com.vaadin.client.ui.calendar
Class VCalendarAction

java.lang.Object
  extended by com.vaadin.client.ui.Action
      extended by com.vaadin.client.ui.calendar.VCalendarAction

public class VCalendarAction
extends Action

Action performed by the calendar

Since:
7.1
Author:
Vaadin Ltd.

Field Summary
 
Fields inherited from class com.vaadin.client.ui.Action
caption, iconUrl, owner
 
Constructor Summary
VCalendarAction(CalendarConnector owner)
           
VCalendarAction(CalendarConnector owner, com.vaadin.shared.ui.calendar.CalendarServerRpc rpc, java.lang.String key)
          Constructor
 
Method Summary
 void execute()
          Executed when action fired
 java.util.Date getActionEndDate()
          Get the date and time when the action ends
 java.util.Date getActionStartDate()
          Get the date and time when the action starts
 CalendarEvent getEvent()
           
 void setActionEndDate(java.util.Date actionEndDate)
          Set the date and time when the action ends
 void setActionStartDate(java.util.Date actionStartDate)
          Set the date when the actions start
 void setEvent(CalendarEvent event)
           
 
Methods inherited from class com.vaadin.client.ui.Action
getCaption, getHTML, getIconUrl, setCaption, setIconUrl, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VCalendarAction

public VCalendarAction(CalendarConnector owner)
Parameters:
owner -

VCalendarAction

public VCalendarAction(CalendarConnector owner,
                       com.vaadin.shared.ui.calendar.CalendarServerRpc rpc,
                       java.lang.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 class Action

getActionStartDate

public java.util.Date getActionStartDate()
Get the date and time when the action starts

Returns:

setActionStartDate

public void setActionStartDate(java.util.Date actionStartDate)
Set the date when the actions start

Parameters:
actionStartDate - The date and time when the action starts

getActionEndDate

public java.util.Date getActionEndDate()
Get the date and time when the action ends

Returns:

setActionEndDate

public void setActionEndDate(java.util.Date actionEndDate)
Set the date and time when the action ends

Parameters:
actionEndDate - The date and time when the action ends

getEvent

public CalendarEvent getEvent()

setEvent

public void setEvent(CalendarEvent event)


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.