|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.calendar.CalendarEvent
public class CalendarEvent
Calendar event. Defines the date range for this event. Contains the event header, body, and type.
Field Summary | |
---|---|
protected boolean |
m_allDay
|
protected Date |
m_endDate
|
protected String |
m_eventBody
|
protected String |
m_eventHeader
|
protected String |
m_eventStyle
|
protected String |
m_eventType
|
Constructor Summary | |
---|---|
protected |
CalendarEvent()
Default constructor |
Method Summary | |
---|---|
int |
compareTo(ICalendarEvent that)
Implementation of Comparable Calendar Event Overrides Comparable |
static CalendarEvent |
create(Date start,
Date end,
boolean allDay,
String header,
String body,
String type)
Creates a Calendar Event and initialize it. |
Date |
getEndDate()
Get end date of this event. |
String |
getEventBody()
Get the text of the event body. |
String |
getEventHeader()
Get event header that describes this event. |
String |
getEventType()
Get event type that for this event. |
Date |
getStartDate()
Get start date of this event. |
boolean |
isAllDay()
Does this event start and end the same date as a Day unit. |
void |
setAllDay(boolean day)
Set this event to start and end the same date as a Day unit. |
void |
setEndDate(Date date)
Set the Date this event ends on. |
void |
setEventBody(String body)
Set the text of the event body. |
void |
setEventHeader(String header)
Set event header that describes this event. |
void |
setEventType(String type)
Set event type that for this event. |
void |
setStartDate(Date m_startDate)
Set the date this event starts on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Date m_endDate
protected boolean m_allDay
protected String m_eventHeader
protected String m_eventBody
protected String m_eventStyle
protected String m_eventType
Constructor Detail |
---|
protected CalendarEvent()
Method Detail |
---|
public static CalendarEvent create(Date start, Date end, boolean allDay, String header, String body, String type)
start
- Date The date this event starts on. Should not be null.end
- Date The date this event ends on. Should not be null.allDay
- boolean this event to start and end on the same date as a Day unitheader
- String A text header used as a title or description of this event.body
- String The description and information for this event.type
- String A user defined value for defining the type of event.
public void setStartDate(Date m_startDate)
m_startDate
- The start date set for this event.public Date getStartDate()
getStartDate
in interface ICalendarEvent
public Date getEndDate()
getEndDate
in interface ICalendarEvent
public void setEndDate(Date date)
date
- Date The end date for this event.public boolean isAllDay()
isAllDay
in interface ICalendarEvent
public void setAllDay(boolean day)
day
- true - then this event starts and ends the same date as a Day unit.ICalendarProvider
public String getEventBody()
getEventBody
in interface ICalendarEvent
public void setEventBody(String body)
body
- The Content of this event.public String getEventHeader()
getEventHeader
in interface ICalendarEvent
public void setEventHeader(String header)
header
- The description or title of this event.public String getEventType()
getEventType
in interface ICalendarEvent
public void setEventType(String type)
type
- String A user defined type for this event.public int compareTo(ICalendarEvent that)
compareTo
in interface Comparable
that
- ICalendarEvent event to compare this event to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |