1 /*
2 * $Id: IStyleClassCapability.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3 */
4 package org.rcfaces.core.component.capability;
5
6 /**
7 * A space-separated list of CSS style class(es) to be applied to the component.
8 * This value will be passed through as the "class" attribute on generated
9 * markup.
10 *
11 * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
12 * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
13 */
14 public interface IStyleClassCapability {
15
16 /**
17 * Specify the style class of the component.
18 *
19 * @param cssClass
20 * style class
21 */
22 void setStyleClass(String cssClass);
23
24 /**
25 * Returns the style class of the component.
26 *
27 * @return style class
28 */
29 String getStyleClass();
30
31 }