public class ProjectCalendarContainer extends ProjectEntityContainer<ProjectCalendar>
m_sequenceProvidermodCount| Constructor and Description |
|---|
ProjectCalendarContainer(ProjectFile projectFile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ProjectCalendar |
add()
Add a calendar to the project.
|
ProjectCalendar |
addDefaultBaseCalendar()
This is a convenience method used to add a calendar called
"Standard" to the project, and populate it with a default working week
and default working hours.
|
ProjectCalendar |
addDefaultDerivedCalendar()
This is a convenience method to add a default derived
calendar to the project.
|
ProjectCalendar |
findOrCreateDefaultCalendar()
If we're calling this method, we don't have a reliable way to identify
the default calendar.
|
ProjectCalendar |
getByName(String calendarName)
Retrieves the named calendar.
|
void |
removed(ProjectCalendar calendar)
Called to notify subclasses of item removal.
|
added, firstUniqueID, fixUniqueIdClashes, getByUniqueID, updateUniqueIDadd, add, clear, get, remove, replaced, set, sizeaddAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic ProjectCalendarContainer(ProjectFile projectFile)
projectFile - parent projectpublic void removed(ProjectCalendar calendar)
ProjectEntityContainerremoved in class ProjectEntityContainer<ProjectCalendar>calendar - removed itempublic ProjectCalendar add()
public ProjectCalendar addDefaultBaseCalendar()
public ProjectCalendar addDefaultDerivedCalendar()
public ProjectCalendar findOrCreateDefaultCalendar()
public ProjectCalendar getByName(String calendarName)
calendarName - name of the required calendarCopyright © 2000–2025 MPXJ. All rights reserved.