Package io.goobi.viewer.model.calendar
Class CalendarRow
java.lang.Object
io.goobi.viewer.model.calendar.CalendarRow
- All Implemented Interfaces:
Serializable
Represents a row of calendar items (e.g. a week row within a month view) for display in the calendar widget.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(ICalendarItem item) addItem.Getter for the fielditemList.booleanisSelected.voidsetItemList(List<ICalendarItem> itemList) Setter for the fielditemList.voidsetSelected(boolean selected) Setter for the fieldselected.
-
Constructor Details
-
CalendarRow
public CalendarRow()
-
-
Method Details
-
getItemList
Getter for the fielditemList.- Returns:
- a list of calendar items contained in this row
-
setItemList
Setter for the fielditemList.- Parameters:
itemList- calendar items to set for this row
-
addItem
addItem.- Parameters:
item- calendar item to append to this row
-
isSelected
public boolean isSelected()isSelected.- Returns:
- true if this calendar row is currently selected, false otherwise
-
setSelected
public void setSelected(boolean selected) Setter for the fieldselected.- Parameters:
selected- true to mark this row as selected
-