1 /*
2 * $Id: IClientDatesStrategyCapability.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3 *
4 */
5 package org.rcfaces.core.component.capability;
6
7 /**
8 * A int value indicating the AJAX transfert strategy for the calendar component :
9 * the dates' characteristics (styleClass, toolTip ...). Those characteristics
10 * can be retrieved by month, year or totally.
11 *
12 * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
13 * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
14 */
15 public interface IClientDatesStrategyCapability {
16
17 int ALL_DATES_STRATEGY = 1;
18
19 int YEAR_DATES_STRATEGY = 2;
20
21 int MONTH_DATES_STRATEGY = 3;
22
23 int DEFAULT_DATES_STRATEGY = ALL_DATES_STRATEGY;
24
25 /**
26 * Sets an int value indicating the AJAX transfert strategy for the calendar
27 * component : the dates' characteristics (styleClass, toolTip ...).
28 *
29 * @param clientDatesStrategy
30 * 1:all|2:year|3:month|1:default default=all
31 */
32 void setClientDatesStrategy(int clientDatesStrategy);
33
34 /**
35 * Returns an int value indicating the AJAX transfert strategy for the
36 * calendar component : the dates' characteristics (styleClass, toolTip
37 * ...).
38 *
39 * @return 1:all|2:year|3:month
40 */
41 int getClientDatesStrategy();
42 }