public class CalendarDataEvent
extends java.lang.Object
implements java.io.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,
CalendarItem e,
java.util.TimeZone timezone)
Contructor.
|
CalendarDataEvent(CalendarModel model,
int type,
java.util.Date begin,
java.util.Date end,
java.util.TimeZone timezone)
Deprecated.
As of release 2.0-RC, replaced with
CalendarDataEvent(CalendarModel model, int type, CalendarItem e, TimeZone timezone) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getBeginDate()
Returns the begin date of the change range.
|
CalendarItem |
getCalendarItem() |
java.util.Date |
getEndDate()
Returns the end date of the change range.
|
CalendarModel |
getModel()
Returns the calendar model that fires this event.
|
java.util.TimeZone |
getTimeZone()
Return the time zone of the calendar
|
int |
getType()
Returns the event type.
|
java.lang.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, java.util.Date begin, java.util.Date end, java.util.TimeZone timezone)
CalendarDataEvent(CalendarModel model, int type, CalendarItem e, TimeZone timezone)
type
- one of CONTENTS_CHANGED
,
INTERVAL_ADDED
, INTERVAL_REMOVED
.public CalendarDataEvent(CalendarModel model, int type, CalendarItem e, java.util.TimeZone timezone)
type
- one of CONTENTS_CHANGED
,
INTERVAL_ADDED
, INTERVAL_REMOVED
.public CalendarModel getModel()
public int getType()
public java.util.Date getBeginDate()
public java.util.Date getEndDate()
public java.util.TimeZone getTimeZone()
public CalendarItem getCalendarItem()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2021. All Rights Reserved.