|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CalendarEvent
Event in the calendar. Customize your own event by implementing this interface.
Nested Class Summary | |
---|---|
static class |
CalendarEvent.EventChangeEvent
Event to signal that an event has changed. |
static interface |
CalendarEvent.EventChangeListener
Listener for EventSetChange events. |
static interface |
CalendarEvent.EventChangeNotifier
Notifier interface for EventChange events. |
Method Summary | |
---|---|
java.lang.String |
getCaption()
Gets caption of event. |
java.lang.String |
getDescription()
Gets description of event. |
java.util.Date |
getEnd()
Get end date of event. |
java.util.Date |
getStart()
Gets start date of event. |
java.lang.String |
getStyleName()
Gets style name of event. |
boolean |
isAllDay()
An all-day event typically does not occur at a specific time but targets a whole day or days. |
Method Detail |
---|
java.util.Date getStart()
java.util.Date getEnd()
java.lang.String getCaption()
java.lang.String getDescription()
java.lang.String getStyleName()
Gets style name of event. In the client, style name will be set to the event's element class name and can be styled by CSS
Styling example:Java code:
event.setStyleName("color1");
CSS:
.v-calendar-event-color1 {
background-color: #9effae;}
boolean isAllDay()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |