Class ScheduleXResourceScheduler
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.HtmlComponent
com.vaadin.flow.component.HtmlContainer
com.vaadin.flow.component.html.Div
org.vaadin.addons.componentfactory.schedulexcalendar.BaseScheduleXCalendar
org.vaadin.addons.componentfactory.schedulexcalendar.ScheduleXResourceScheduler
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.html.Div>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasOrderedComponents,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasText,Serializable
@NpmPackage(value="preact",version="10.26.4") @NpmPackage(value="@preact/signals",version="2.0.2") @NpmPackage(value="@sx-premium/resource-scheduler",version="14.0.3") @NpmPackage(value="@sx-premium/scheduling-assistant",version="14.0.3")
@JsModule("./src/vcf-schedule-x-resource-scheduler.js")
public class ScheduleXResourceScheduler
extends BaseScheduleXCalendar
A view for displaying resources (people, rooms, equipment etc.) in a time grid.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEvent fired when Scheduling Assistant is updated.Nested classes/interfaces inherited from class org.vaadin.addons.componentfactory.schedulexcalendar.BaseScheduleXCalendar
BaseScheduleXCalendar.CalendarEventAddedEvent, BaseScheduleXCalendar.CalendarEventClickEvent, BaseScheduleXCalendar.CalendarEventRemovedEvent, BaseScheduleXCalendar.CalendarEventUpdatedEvent, BaseScheduleXCalendar.CalendarViewAndDateChangeEvent, BaseScheduleXCalendar.EventUpdateEvent, BaseScheduleXCalendar.SelectedDateUpdateEventNested classes/interfaces inherited from interface com.vaadin.flow.component.HasText
com.vaadin.flow.component.HasText.WhiteSpace -
Field Summary
Fields inherited from class org.vaadin.addons.componentfactory.schedulexcalendar.BaseScheduleXCalendar
container -
Constructor Summary
ConstructorsConstructorDescriptionScheduleXResourceScheduler(List<ResourceViewType> views, com.vaadin.flow.data.provider.CallbackDataProvider<Event, EventQueryFilter> dataProvider, Configuration configuration, Map<String, Calendar> calendars, ResourceSchedulerConfig resourceSchedulerConfig) ScheduleXResourceScheduler(List<ResourceViewType> views, com.vaadin.flow.data.provider.CallbackDataProvider<Event, EventQueryFilter> dataProvider, Configuration configuration, Map<String, Calendar> calendars, ResourceSchedulerConfig resourceSchedulerConfig, SchedulingAssistantConfig schedulingAssistantConfig) ScheduleXResourceScheduler(List<ResourceViewType> views, com.vaadin.flow.data.provider.CallbackDataProvider<Event, EventQueryFilter> dataProvider, Configuration configuration, ResourceSchedulerConfig resourceSchedulerConfig) -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationaddSchedulingAssistantUpdateListener(com.vaadin.flow.component.ComponentEventListener<ScheduleXResourceScheduler.SchedulingAssistantUpdateEvent> listener) Adds a SchedulingAssistantUpdateEvent listener.protected Stringprotected voidinitCalendar(boolean refreshView) Initializes calendar with the initial configuration.protected Stringprotected StringvoidsetSchedulingAssistantConfig(SchedulingAssistantConfig schedulingAssistantConfig) Methods inherited from class org.vaadin.addons.componentfactory.schedulexcalendar.BaseScheduleXCalendar
addCalendarEventAddedEventListener, addCalendarEventClickEventListener, addCalendarEventRemovedEventListener, addCalendarEventUpdatedEventListener, addCalendarViewAndDateChangeEvent, addEvent, addEventUpdateEventListener, addSelectedDateUpdateEventListener, calendarsToJson, configurationToJson, eventsToJson, getCalendars, getConfiguration, getDataProvider, getDate, getDayBoundaries, getFirstDayOfWeek, getLocale, getMaxDate, getMinDate, getMonthGridOptions, getTimeZone, getView, getViews, getWeekOptions, navigateBackwards, navigateForwards, onAttach, onDetach, refreshCalendar, removeEvent, setCalendars, setDarkMode, setDataProvider, setDate, setDayBoundaries, setFirstDayOfWeek, setLocale, setMaxDate, setMinDate, setMonthGridOptions, setTimeZone, setView, setViews, setWeekOptions, updateDate, updateDayBoundaries, updateEvent, updateFirstDayOfWeek, updateLocale, updateMaxDate, updateMinDate, updateMonthGridOptions, updateTimeZone, updateWeekOptions, viewsToJsonMethods inherited from class com.vaadin.flow.component.HtmlComponent
getTitle, setTitleMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut, addDoubleClickListener, addSingleClickListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasOrderedComponents
getChildren, getComponentAt, getComponentCount, indexOf, replaceMethods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.HasText
getText, getWhiteSpace, setText, setWhiteSpace
-
Constructor Details
-
ScheduleXResourceScheduler
public ScheduleXResourceScheduler(List<ResourceViewType> views, com.vaadin.flow.data.provider.CallbackDataProvider<Event, EventQueryFilter> dataProvider, Configuration configuration, ResourceSchedulerConfig resourceSchedulerConfig) -
ScheduleXResourceScheduler
public ScheduleXResourceScheduler(List<ResourceViewType> views, com.vaadin.flow.data.provider.CallbackDataProvider<Event, EventQueryFilter> dataProvider, Configuration configuration, Map<String, Calendar> calendars, ResourceSchedulerConfig resourceSchedulerConfig) -
ScheduleXResourceScheduler
public ScheduleXResourceScheduler(List<ResourceViewType> views, com.vaadin.flow.data.provider.CallbackDataProvider<Event, EventQueryFilter> dataProvider, Configuration configuration, Map<String, Calendar> calendars, ResourceSchedulerConfig resourceSchedulerConfig, SchedulingAssistantConfig schedulingAssistantConfig)
-
-
Method Details
-
getJsConnector
- Specified by:
getJsConnectorin classBaseScheduleXCalendar
-
initCalendar
protected void initCalendar(boolean refreshView) Description copied from class:BaseScheduleXCalendarInitializes calendar with the initial configuration.- Specified by:
initCalendarin classBaseScheduleXCalendar
-
resourceSchedulerConfigToJson
-
schedulingAssistantConfigToJson
-
getResourceSchedulerConfig
-
getSchedulingAssistantConfig
-
setSchedulingAssistantConfig
-
addSchedulingAssistantUpdateListener
public com.vaadin.flow.shared.Registration addSchedulingAssistantUpdateListener(com.vaadin.flow.component.ComponentEventListener<ScheduleXResourceScheduler.SchedulingAssistantUpdateEvent> listener) Adds a SchedulingAssistantUpdateEvent listener.- Parameters:
listener- the listener to be added- Returns:
- a handle that can be used for removing the listener
-