public class Calendar extends UC4Object implements com.uc4.util.IChangeListener
Constructor and Description |
---|
Calendar() |
Modifier and Type | Method and Description |
---|---|
void |
addKeyword(CalendarKeyword keyword)
Adds the specified calendar keyword to this calendar.
|
CalendarKeyword |
getCalendarkeyword(UC4ObjectName keyword)
Gets the specified calendar keyword from this calendar.
|
Header |
header()
Returns the header data of this object.
|
boolean |
isExecutable()
Returns
true if this Object can be executed. |
Iterator<CalendarKeyword> |
keywordIterator()
Iterator over
CalendarKeyword . |
boolean |
removeKeyword(UC4ObjectName keyword)
Removes the specified calendar keyword from this calendar
It is not possible to remove all keywords.
|
int |
size()
Returns the number of keywords in this calendar.
|
void |
update()
The update method is called if the object changed
|
public Header header()
public Iterator<CalendarKeyword> keywordIterator()
CalendarKeyword
. This iterator can be used
to read calendar keywords.public void addKeyword(CalendarKeyword keyword)
keyword
- Calendar keywordpublic boolean removeKeyword(UC4ObjectName keyword)
IllegalStateException
will be thrown if the last keyword should be deleted.keyword
- Name of the keywordpublic CalendarKeyword getCalendarkeyword(UC4ObjectName keyword)
keyword
- Name of the keywordpublic void update()
com.uc4.util.IChangeListener
update
in interface com.uc4.util.IChangeListener
public int size()
public boolean isExecutable()
UC4Object
true
if this Object can be executed.isExecutable
in class UC4Object
Copyright © 2021. All rights reserved.