Class Configuration
java.lang.Object
org.vaadin.addons.componentfactory.schedulexcalendar.Configuration
- All Implemented Interfaces:
Serializable
Java representation of the configuration options for the Schedule-X Calendar. This configuration
is used to customize the behavior and appearance of the calendar views.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConfiguration to add a current time indicator to the calendar.static classDecides which hours should be displayed in the week and day grids.static classOptional options for drawing events.static classiCalendar data configuration.static classstatic classConfiguration to control the scrolling in the week and day view grids.static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetiCal()getJson()booleanisDark()booleanbooleanbooleanvoidsetCurrentTimeIndicatorConfig(Configuration.CurrentTimeIndicatorConfig currentTimeIndicatorConfig) voidsetDark(boolean isDark) voidsetDayBoundaries(Configuration.DayBoundaries dayBoundaries) voidsetDefaultView(ViewType defaultView) voidsetDragAndDropInterval(TimeInterval dragAndDropInterval) voidsetDrawOptions(Configuration.DrawOptions drawOptions) voidsetFirstDayOfWeek(Integer firstDayOfWeek) voidsetiCal(Configuration.ICal iCal) voidvoidsetMaxDate(LocalDate maxDate) voidsetMinDate(LocalDate minDate) voidsetMonthGridOptions(Configuration.MonthGridOptions monthGridOptions) voidsetResizeInterval(TimeInterval resizeInterval) voidsetResponsive(boolean isResponsive) voidsetScrollControllerConfig(Configuration.ScrollControllerConfig scrollControllerConfig) voidsetSelectedDate(LocalDate selectedDate) voidsetShowWeekNumbers(boolean showWeekNumbers) voidsetSkipValidation(boolean skipValidation) voidsetTimeZone(ZoneId timeZone) voidsetWeekOptions(Configuration.WeekOptions weekOptions)
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
getDefaultView
-
setDefaultView
-
getSelectedDate
-
setSelectedDate
-
getLocale
-
setLocale
-
getTimeZone
-
setTimeZone
-
getFirstDayOfWeek
-
setFirstDayOfWeek
-
isDark
public boolean isDark() -
setDark
public void setDark(boolean isDark) -
getDayBoundaries
-
setDayBoundaries
-
getMinDate
-
setMinDate
-
getMaxDate
-
setMaxDate
-
getWeekOptions
-
setWeekOptions
-
getMonthGridOptions
-
setMonthGridOptions
-
getDrawOptions
-
setDrawOptions
-
getiCal
-
setiCal
-
isShowWeekNumbers
public boolean isShowWeekNumbers() -
setShowWeekNumbers
public void setShowWeekNumbers(boolean showWeekNumbers) -
isResponsive
public boolean isResponsive() -
setResponsive
public void setResponsive(boolean isResponsive) -
isSkipValidation
public boolean isSkipValidation() -
setSkipValidation
public void setSkipValidation(boolean skipValidation) -
getResizeInterval
-
setResizeInterval
-
getDragAndDropInterval
-
setDragAndDropInterval
-
getCurrentTimeIndicatorConfig
-
setCurrentTimeIndicatorConfig
public void setCurrentTimeIndicatorConfig(Configuration.CurrentTimeIndicatorConfig currentTimeIndicatorConfig) -
getScrollControllerConfig
-
setScrollControllerConfig
-
getJson
-