View Javadoc

1   /*
2    * $Id: ICellStyleClassCapability.java,v 1.1 2007/04/20 13:43:05 oeuillot Exp $
3    */
4   package org.rcfaces.core.component.capability;
5   
6   /**
7    * 
8    * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
9    * @version $Revision: 1.1 $ $Date: 2007/04/20 13:43:05 $
10   */
11  public interface ICellStyleClassCapability {
12  
13      /**
14       * Returns a space-separated list of default CSS style class(es) to be
15       * applied when this cell is rendered. This value will be passed through as
16       * the "class" attribute on generated markup.
17       * 
18       * @return list of default CSS style classes
19       */
20      String getDefaultCellStyleClass();
21  
22      /**
23       * Sets a space-separated list of default CSS style class(es) to be applied
24       * when this cell is rendered. This value will be passed through as the
25       * "class" attribute on generated markup.
26       * 
27       * @param cellStyleClass
28       *            list of default CSS style classes
29       */
30      void setDefaultCellStyleClass(String cellStyleClass);
31  
32      /**
33       * Returns a space-separated list of CSS style class(es) to be applied when
34       * this cell is rendered. This value will be passed through as the "class"
35       * attribute on generated markup.
36       * 
37       * @return list of CSS style classes
38       */
39      String getCellStyleClass();
40  
41      /**
42       * Sets a space-separated list of CSS style class(es) to be applied when
43       * this cell is rendered. This value will be passed through as the "class"
44       * attribute on generated markup.
45       * 
46       * @param cellStyleClass
47       *            list of CSS style classes
48       */
49      void setCellStyleClass(String cellStyleClass);
50  }