|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectshared.CalendarEvent
This class specifies calendar events. Calendar event objects are the most used objects of the whole netcalendar suite.
| Constructor Summary | |
CalendarEvent(CalendarCategory category)
Simple constructor, creates an event object and increments iEventIDCount by one. |
|
CalendarEvent(java.lang.String sCategoryName)
Simple constructor, creates an event object and increments iEventIDCount by one. |
|
| Method Summary | |
CalendarCategory |
getCategory()
This event returns the event's calendar category. |
java.lang.String |
getCategoryName()
This method returns the event's category name. |
MyDate |
getDate()
This method returns the event's date object. |
java.lang.String |
getDescription()
This method returns the event's description string. |
int |
getEventID()
This method returns the event's ID number. |
java.lang.String |
getPlace()
This method returns the event's place string. |
boolean |
isYearly()
This method checks if this event occurs yearly or not. |
boolean |
matches(java.util.regex.Pattern pattern)
Checks if the current event matches all available data of the event agains a given regular expression pattern. |
boolean |
matchesCategory(java.util.regex.Pattern pattern)
Checks if the current event's category name matches agains a regular expression pattern |
boolean |
matchesCategoryName(java.util.regex.Pattern pattern)
Checks if the current event's name matches agains a regular expression pattern. |
boolean |
matchesDateString(java.util.regex.Pattern pattern)
Checks if the current event's date string matches agains a regular expression pattern |
boolean |
matchesDescription(java.util.regex.Pattern pattern)
Checks if the current event's description string matches agains a regular expression pattern. |
boolean |
matchesPlace(java.util.regex.Pattern pattern)
Checks if the current event's place string matches agains a regular expression pattern. |
void |
removeFromCurrentCategory()
Removes the calendar event from its current category and sets the category reference to null. |
void |
setCategory(CalendarCategory category)
This method sets the event's category. |
void |
setCategoryName(java.lang.String sCategoryName)
This methos sets thhe event's category name. |
void |
setDate(java.util.Date date)
This method sets the event's date. |
void |
setDescription(java.lang.String sDescription)
This method sets the event's descriptions tring. |
void |
setEventID(int iEventID)
This method sets the event's ID number. |
void |
setPlace(java.lang.String sPlace)
This method sets the event's place string. |
void |
setYearly(boolean bYearly)
This method specifies if this event occurs yearly or not. |
java.lang.String |
toString()
This method is needed for a text representation of the object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CalendarEvent(CalendarCategory category)
category - Specifies the event's category.public CalendarEvent(java.lang.String sCategoryName)
sCategoryName - Specifies the event's category name.| Method Detail |
public void setDate(java.util.Date date)
date - Specifies the event's date.public void setCategory(CalendarCategory category)
category - Specifies the event's category.public CalendarCategory getCategory()
public void setCategoryName(java.lang.String sCategoryName)
sCategoryName - Specifies the event's category name.public void setDescription(java.lang.String sDescription)
sDescription - Specifies the event's description string.public void setPlace(java.lang.String sPlace)
sPlace - Specifies the event's place string.public void setEventID(int iEventID)
iEventID - specifies the event's ID number.public void setYearly(boolean bYearly)
bYearly - Specifies if this event occury yearly or not.public java.lang.String getCategoryName()
public java.lang.String getDescription()
public java.lang.String getPlace()
public MyDate getDate()
public int getEventID()
public boolean isYearly()
public boolean matches(java.util.regex.Pattern pattern)
pattern - Specifies the pattern to match against.
public boolean matchesCategoryName(java.util.regex.Pattern pattern)
pattern - Specifies the pattern to be matched against.
public boolean matchesDescription(java.util.regex.Pattern pattern)
pattern - Specifies the pattern to match against.
public boolean matchesPlace(java.util.regex.Pattern pattern)
pattern - Specifies the pattern to match against.
public boolean matchesCategory(java.util.regex.Pattern pattern)
pattern - Specifies the pattern to match against.
public boolean matchesDateString(java.util.regex.Pattern pattern)
pattern - Specifies the pattern to match against.
public void removeFromCurrentCategory()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||