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
Modifier and TypeFieldDescriptionprotected String
protected String
protected boolean
protected boolean
Fields inherited from class io.jmix.fullcalendarflowui.kit.component.model.AbstractCalendarDisplayModeProperties
properties
Fields inherited from class io.jmix.fullcalendarflowui.kit.component.model.option.CalendarOption
dirty, eventBus, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setListDayFormat
(String format) Sets the format of the text on the left side of the day headings.void
setListDaySideFormat
(String format) Sets the format of the text on the right side of the day headings.void
setListDaySideVisible
(boolean listDaySideVisible) Sets the visibility of the text on the right side of the day headings.void
setListDayVisible
(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, removeProperty
Methods 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
null
if 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
null
value 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:
true
if 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
null
if 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
null
value 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:
true
if 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
-