Class AbstractListProperties
java.lang.Object
io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
io.jmix.fullcalendarflowui.kit.component.model.AbstractCalendarDisplayModeProperties
io.jmix.fullcalendarflowui.kit.component.model.AbstractListProperties
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ListDayProperties,ListMonthProperties,ListWeekProperties,ListYearProperties
Base class for configuring properties of list display modes.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
CalendarOption.OptionChangeEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected booleanprotected booleanFields inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractCalendarDisplayModeProperties
propertiesFields inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
dirty, eventBus, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetListDayFormat(String format) Sets the format of the text on the left side of the day headings.voidsetListDaySideFormat(String format) Sets the format of the text on the right side of the day headings.voidsetListDaySideVisible(boolean listDaySideVisible) Sets the visibility of the text on the right side of the day headings.voidsetListDayVisible(boolean listDayVisible) Sets the visibility of the text on the left side of the day headings.Methods inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractCalendarDisplayModeProperties
addProperty, getProperties, removePropertyMethods inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
addChangeListener, fireChangeEvent, getName, getValueToSerialize, isDirty, markAsDirty, unmarkAsDirty
-
Field Details
-
listDayFormat
-
listDayVisible
protected boolean listDayVisible -
listDaySideFormat
-
listDaySideVisible
protected boolean listDaySideVisible
-
-
Constructor Details
-
AbstractListProperties
-
-
Method Details
-
getListDayFormat
- Returns:
- the list day format or
nullif not set
-
setListDayFormat
Sets the format of the text on the left side of the day headings. By default, component sets localized format from messages when is created.The
nullvalue resets day format to FullCalendar's default.As component uses moment plugin for FullCalendar, we should follow the moment.js formatting rules: Moment.js Documentation
For instance, the
"dd"producesMo.- Parameters:
format- format to set
-
isListDayVisible
public boolean isListDayVisible()- Returns:
trueif the text on the left side of the day headings is visible
-
setListDayVisible
public void setListDayVisible(boolean listDayVisible) Sets the visibility of the text on the left side of the day headings.The default value is
true.- Parameters:
listDayVisible- whether to show the list day text
-
getListDaySideFormat
- Returns:
- the list day side format or
nullif not set
-
setListDaySideFormat
Sets the format of the text on the right side of the day headings. By default, component sets localized format from messages when is created.The
nullvalue resets day format to FullCalendar's default.As component uses moment plugin for FullCalendar, we should follow the moment.js formatting rules: Moment.js Documentation
For instance, the
"dd"producesMo.- Parameters:
format- format to set
-
isListDaySideVisible
public boolean isListDaySideVisible()- Returns:
trueif the text on the right side of the day headings is visible
-
setListDaySideVisible
public void setListDaySideVisible(boolean listDaySideVisible) Sets the visibility of the text on the right side of the day headings.The default value is
true.- Parameters:
listDaySideVisible- whether to show the list day side text
-