ResourcesView. A typical use case would be the allocation of
personnel in a hairdresser salon. A resource might be available or not.
This can be expressed via the availabilityCalendarProperty().
ResourcesView#getResources(), DateControl#editAvailabilityProperty(), DateControl#availabilityGridProperty(), DateControl#availabilityFillProperty()
| Modifier and Type | Field and Description |
|---|---|
| public final ObjectProperty | |
| private final ReadOnlyListWrapper | |
| private final ObservableList | |
| private final ObservableList | |
| private final InvalidationListener | |
| private final ObjectProperty | |
| private final WeakInvalidationListener |
| Modifier and Type | Method and Description |
|---|---|
| public ObjectProperty | Returns: the resource's availability calendarA resource might be available or not. |
| public final ReadOnlyListProperty | Returns: the list of all calendars available for this resourceA list that contains all calendars found in all calendar sources currently attached to this resource. |
| public Calendar | |
| public final ObservableList | Returns: the list of all calendars available for this controlReturns the value of |
| public final ObservableList | Returns: the calendar sourcesThe list of all calendar sources attached to this resource. |
| public final T | |
| public void | |
| public final void | |
| public String | |
| private void | |
| public final ObjectProperty | Returns: the user object (e.g. the person or the calendar data source).An (optional) user object. |
| availabilityCalendar | back to summary |
|---|---|
| public final ObjectProperty<Calendar<T>> availabilityCalendar | |
| calendars | back to summary |
|---|---|
| private final ReadOnlyListWrapper<Calendar<T>> calendars | |
| calendarSources | back to summary |
|---|---|
| private final ObservableList<CalendarSource> calendarSources | |
| unmodifiableCalendars | back to summary |
|---|---|
| private final ObservableList<Calendar<T>> unmodifiableCalendars | |
| updateCalendarListListener | back to summary |
|---|---|
| private final InvalidationListener updateCalendarListListener | |
| userObject | back to summary |
|---|---|
| private final ObjectProperty<T> userObject | |
| weakUpdateCalendarListListener | back to summary |
|---|---|
| private final WeakInvalidationListener weakUpdateCalendarListListener | |
| Resource | back to summary |
|---|---|
| public Resource() | |
| Resource | back to summary |
|---|---|
| public Resource(T userObject) | |
| availabilityCalendarProperty | back to summary |
|---|---|
| public ObjectProperty A resource might be available or not. This can be determined via the "availability" calendar.
| |
| calendarsProperty | back to summary |
|---|---|
| public final ReadOnlyListProperty A list that contains all calendars found in all calendar sources currently attached to this resource. This is a convenience list that "flattens" the two level structure of sources and their calendars. It is a read-only list because calendars can not be added directly to a resource. Instead, they are added to calendar sources and those sources are then added to the control.
| |
| getAvailabilityCalendar | back to summary |
|---|---|
| public Calendar | |
| getCalendars | back to summary |
|---|---|
| public final ObservableList Returns the value of
| |
| getCalendarSources | back to summary |
|---|---|
| public final ObservableList The list of all calendar sources attached to this resource.
| |
| getUserObject | back to summary |
|---|---|
| public final T getUserObject() | |
| setAvailabilityCalendar | back to summary |
|---|---|
| public void setAvailabilityCalendar(Calendar<T> availabilityCalendar) | |
| setUserObject | back to summary |
|---|---|
| public final void setUserObject(T userObject) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| updateCalendarList | back to summary |
|---|---|
| private void updateCalendarList() | |
| userObjectProperty | back to summary |
|---|---|
| public final ObjectProperty An (optional) user object.
| |