|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.calendar.event.CalendarDataEvent
public class CalendarDataEvent
Defines an event that encapsulates changes to a date range.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
CalendarDataEvent(CalendarModel model,
int type,
CalendarEvent 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, CalendarEvent e, TimeZone timezone) |
|
| Method Summary | |
|---|---|
java.util.Date |
getBeginDate()
Returns the begin date of the change range. |
CalendarEvent |
getCalendarEvent()
|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CONTENTS_CHANGED
public static final int INTERVAL_ADDED
public static final int INTERVAL_REMOVED
| Constructor Detail |
|---|
public CalendarDataEvent(CalendarModel model,
int type,
java.util.Date begin,
java.util.Date end,
java.util.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,
java.util.TimeZone timezone)
type - one of CONTENTS_CHANGED,
INTERVAL_ADDED, INTERVAL_REMOVED.| Method Detail |
|---|
public CalendarModel getModel()
public int getType()
CONTENTS_CHANGED,
INTERVAL_ADDED, INTERVAL_REMOVED.
public java.util.Date getBeginDate()
public java.util.Date getEndDate()
public java.util.TimeZone getTimeZone()
public CalendarEvent getCalendarEvent()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||