fr.paris.lutece.plugins.calendar.web
Class SmallMonthCalendar

java.lang.Object
  extended by fr.paris.lutece.plugins.calendar.web.SmallMonthCalendar

public class SmallMonthCalendar
extends java.lang.Object

This class provides a Small Html Month calendar.


Constructor Summary
SmallMonthCalendar()
           
 
Method Summary
static java.lang.String getDayClass(java.util.Calendar calendar, boolean bIsSelectedDay)
          Calculate the style class to render the day
static java.lang.String getSmallMonthCalendar(java.lang.String strDate, Agenda agenda, CalendarUserOptions options, boolean bIsSelectedDay)
          Provides a small HTML month calendar displaying days with links
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmallMonthCalendar

public SmallMonthCalendar()
Method Detail

getSmallMonthCalendar

public static java.lang.String getSmallMonthCalendar(java.lang.String strDate,
                                                     Agenda agenda,
                                                     CalendarUserOptions options,
                                                     boolean bIsSelectedDay)
Provides a small HTML month calendar displaying days with links

Parameters:
options - The options which contains displaying settings
strDate - The code date defining the month to display
agenda - An agenda to hilight some days.
bIsSelectedDay - true if the date is the selected day, false otherwise
Returns:
The HTML code of the month.

getDayClass

public static java.lang.String getDayClass(java.util.Calendar calendar,
                                           boolean bIsSelectedDay)
Calculate the style class to render the day

Parameters:
calendar - A calendar object positionned on the day to render
bIsSelectedDay - true if the date is the selected day, false otherwise
Returns:
A CSS style


Copyright © 2011 Mairie de Paris. All Rights Reserved.