public class CalendarDataEvent extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENTS_CHANGED
Identifies one or more changes in the lists contents.
|
static int |
INTERVAL_ADDED
Identifies the addition of one or more contiguous items to the list.
|
static int |
INTERVAL_REMOVED
Identifies the removal of one or more contiguous items from the list.
|
| Constructor and Description |
|---|
CalendarDataEvent(CalendarModel model,
int type,
CalendarEvent e,
TimeZone timezone)
Contructor.
|
CalendarDataEvent(CalendarModel model,
int type,
Date begin,
Date end,
TimeZone timezone)
Deprecated.
As of release 2.0-RC, replaced with
CalendarDataEvent(CalendarModel model, int type, CalendarEvent e, TimeZone timezone) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getBeginDate()
Returns the begin date of the change range.
|
CalendarEvent |
getCalendarEvent() |
Date |
getEndDate()
Returns the end date of the change range.
|
CalendarModel |
getModel()
Returns the calendar model that fires this event.
|
TimeZone |
getTimeZone()
Return the time zone of the calendar
|
int |
getType()
Returns the event type.
|
String |
toString() |
public static final int CONTENTS_CHANGED
public static final int INTERVAL_ADDED
public static final int INTERVAL_REMOVED
public CalendarDataEvent(CalendarModel model, int type, Date begin, Date end, TimeZone timezone)
CalendarDataEvent(CalendarModel model, int type, CalendarEvent e, TimeZone timezone)type - one of CONTENTS_CHANGED,
INTERVAL_ADDED, INTERVAL_REMOVED.public CalendarDataEvent(CalendarModel model, int type, CalendarEvent e, TimeZone timezone)
type - one of CONTENTS_CHANGED,
INTERVAL_ADDED, INTERVAL_REMOVED.public CalendarModel getModel()
public int getType()
public Date getBeginDate()
public Date getEndDate()
public TimeZone getTimeZone()
public CalendarEvent getCalendarEvent()
Copyright © 2015. All Rights Reserved.