1 /*
2 * $Id: ISeverityStyleClassCapability.java,v 1.4 2007/05/24 12:26:17 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.4 $ $Date: 2007/05/24 12:26:17 $
10 */
11 public interface ISeverityStyleClassCapability extends IStyleClassCapability {
12
13 /**
14 * Returns a space-separated list of CSS style class(es) to be applied for
15 * info messages. This value will be passed through as the "class" attribute
16 * on generated markup.
17 *
18 * @return list of CSS style classes
19 */
20 String getInfoStyleClass();
21
22 /**
23 * Sets a space-separated list of CSS style class(es) to be applied for info
24 * messages. This value will be passed through as the "class" attribute on
25 * generated markup.
26 *
27 * @param infoStyleClass
28 * list of CSS style classes
29 */
30 void setInfoStyleClass(String infoStyleClass);
31
32 /**
33 * Returns a space-separated list of CSS style class(es) to be applied for
34 * warning messages. 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 getWarnStyleClass();
40
41 /**
42 * Sets a space-separated list of CSS style class(es) to be applied for
43 * warning messages. This value will be passed through as the "class"
44 * attribute on generated markup.
45 *
46 * @param warnStyleClass
47 * list of CSS style classes
48 */
49 void setWarnStyleClass(String warnStyleClass);
50
51 /**
52 * Returns a space-separated list of CSS style class(es) to be applied for
53 * error messages. This value will be passed through as the "class"
54 * attribute on generated markup.
55 *
56 * @return list of CSS style classes
57 */
58 String getErrorStyleClass();
59
60 /**
61 * Sets a space-separated list of CSS style class(es) to be applied for
62 * error messages. This value will be passed through as the "class"
63 * attribute on generated markup.
64 *
65 * @param errorStyleClass
66 * list of CSS style classes
67 */
68 void setErrorStyleClass(String errorStyleClass);
69
70 /**
71 * Returns a space-separated list of CSS style class(es) to be applied for
72 * fatal messages. This value will be passed through as the "class"
73 * attribute on generated markup.
74 *
75 * @return list of CSS style classes
76 */
77 String getFatalStyleClass();
78
79 /**
80 * Sets a space-separated list of CSS style class(es) to be applied for
81 * fatal messages. This value will be passed through as the "class"
82 * attribute on generated markup.
83 *
84 * @param fatalStyleClass
85 * list of CSS style classes
86 */
87 void setFatalStyleClass(String fatalStyleClass);
88
89 }