Class AbstractCalendar
- java.lang.Object
-
- org.silverpeas.core.web.util.viewgenerator.html.calendar.AbstractCalendar
-
- All Implemented Interfaces:
Calendar
,SimpleGraphicElement
- Direct Known Subclasses:
CalendarWA1
public abstract class AbstractCalendar extends Object implements Calendar
Class declaration- Author:
-
-
Field Summary
Fields Modifier and Type Field Description protected String
language
protected org.silverpeas.kernel.bundle.LocalizationBundle
messages
protected String
monthDayStyle
protected String
monthDayStyleEvent
protected boolean
monthVisible
protected boolean
navigationBar
protected boolean
shortName
protected String
weekDayStyle
-
Constructor Summary
Constructors Constructor Description AbstractCalendar(String context, String language, Date date)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEvent(Event event)
String
getContext()
Date
getCurrentDate()
Collection<Event>
getEvents()
List<Date>
getNonSelectableDays()
boolean
isEmptyDayNonSelectable()
void
setCurrentDate(Date currentDate)
void
setEmptyDayNonSelectable(boolean nonSelectable)
void
setEvents(List<Event> events)
void
setMonthDayStyle(String value)
Method declarationvoid
setMonthVisible(boolean value)
Method declarationvoid
setNavigationBar(boolean value)
Method declarationvoid
setNonSelectableDays(List<Date> nonSelectableDays)
void
setShortName(boolean value)
Method declarationvoid
setWeekDayStyle(String value)
Method declaration
-
-
-
Field Detail
-
navigationBar
protected boolean navigationBar
-
shortName
protected boolean shortName
-
monthVisible
protected boolean monthVisible
-
weekDayStyle
protected String weekDayStyle
-
monthDayStyle
protected String monthDayStyle
-
monthDayStyleEvent
protected String monthDayStyleEvent
-
messages
protected org.silverpeas.kernel.bundle.LocalizationBundle messages
-
language
protected String language
-
-
Method Detail
-
isEmptyDayNonSelectable
public boolean isEmptyDayNonSelectable()
-
setEmptyDayNonSelectable
public void setEmptyDayNonSelectable(boolean nonSelectable)
- Specified by:
setEmptyDayNonSelectable
in interfaceCalendar
-
setWeekDayStyle
public void setWeekDayStyle(String value)
Method declaration- Specified by:
setWeekDayStyle
in interfaceCalendar
- Parameters:
value
-
-
setMonthDayStyle
public void setMonthDayStyle(String value)
Method declaration- Specified by:
setMonthDayStyle
in interfaceCalendar
- Parameters:
value
-
-
setMonthVisible
public void setMonthVisible(boolean value)
Method declaration- Specified by:
setMonthVisible
in interfaceCalendar
- Parameters:
value
-
-
setNavigationBar
public void setNavigationBar(boolean value)
Method declaration- Specified by:
setNavigationBar
in interfaceCalendar
- Parameters:
value
-
-
setShortName
public void setShortName(boolean value)
Method declaration- Specified by:
setShortName
in interfaceCalendar
- Parameters:
value
-
-
getContext
public String getContext()
- Returns:
-
getEvents
public Collection<Event> getEvents()
-
setNonSelectableDays
public void setNonSelectableDays(List<Date> nonSelectableDays)
- Specified by:
setNonSelectableDays
in interfaceCalendar
-
getCurrentDate
public Date getCurrentDate()
-
setCurrentDate
public void setCurrentDate(Date currentDate)
-
-