public class VCalendarAction extends Action
| Constructor and Description |
|---|
VCalendarAction(CalendarConnector owner) |
VCalendarAction(CalendarConnector owner,
CalendarServerRpc rpc,
String key)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executed when action fired
|
Date |
getActionEndDate()
Get the date and time when the action ends
|
Date |
getActionStartDate()
Get the date and time when the action starts
|
CalendarEvent |
getEvent() |
void |
setActionEndDate(Date actionEndDate)
Set the date and time when the action ends
|
void |
setActionStartDate(Date actionStartDate)
Set the date when the actions start
|
void |
setEvent(CalendarEvent event) |
getCaption, getHTML, getIconUrl, setCaption, setIconUrl, toStringpublic VCalendarAction(CalendarConnector owner)
owner - public VCalendarAction(CalendarConnector owner, CalendarServerRpc rpc, String key)
owner - The owner who trigger this kinds of eventsrpc - The CalendarRpc which is used for executing actionskey - The unique action key which identifies this particular actionpublic void execute()
Actionpublic Date getActionStartDate()
public void setActionStartDate(Date actionStartDate)
actionStartDate - The date and time when the action startspublic Date getActionEndDate()
public void setActionEndDate(Date actionEndDate)
actionEndDate - The date and time when the action endspublic CalendarEvent getEvent()
public void setEvent(CalendarEvent event)
Copyright © 2016 Vaadin Ltd. All rights reserved.