Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
_MessageProperties |
|
| 0.0;0 |
1 | /* | |
2 | * Licensed to the Apache Software Foundation (ASF) under one | |
3 | * or more contributor license agreements. See the NOTICE file | |
4 | * distributed with this work for additional information | |
5 | * regarding copyright ownership. The ASF licenses this file | |
6 | * to you under the Apache License, Version 2.0 (the | |
7 | * "License"); you may not use this file except in compliance | |
8 | * with the License. You may obtain a copy of the License at | |
9 | * | |
10 | * http://www.apache.org/licenses/LICENSE-2.0 | |
11 | * | |
12 | * Unless required by applicable law or agreed to in writing, | |
13 | * software distributed under the License is distributed on an | |
14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
15 | * KIND, either express or implied. See the License for the | |
16 | * specific language governing permissions and limitations | |
17 | * under the License. | |
18 | */ | |
19 | package javax.faces.component.html; | |
20 | ||
21 | import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; | |
22 | ||
23 | interface _MessageProperties | |
24 | { | |
25 | /** | |
26 | * CSS class to be used for messages with severity "ERROR". | |
27 | * | |
28 | */ | |
29 | @JSFProperty | |
30 | public abstract String getErrorClass(); | |
31 | ||
32 | /** | |
33 | * CSS style to be used for messages with severity "ERROR". | |
34 | * | |
35 | */ | |
36 | @JSFProperty | |
37 | public abstract String getErrorStyle(); | |
38 | ||
39 | /** | |
40 | * CSS class to be used for messages with severity "FATAL". | |
41 | * | |
42 | */ | |
43 | @JSFProperty | |
44 | public abstract String getFatalClass(); | |
45 | ||
46 | /** | |
47 | * CSS style to be used for messages with severity "FATAL". | |
48 | * | |
49 | */ | |
50 | @JSFProperty | |
51 | public abstract String getFatalStyle(); | |
52 | ||
53 | /** | |
54 | * CSS class to be used for messages with severity "INFO". | |
55 | * | |
56 | */ | |
57 | @JSFProperty | |
58 | public abstract String getInfoClass(); | |
59 | ||
60 | /** | |
61 | * CSS style to be used for messages with severity "INFO". | |
62 | * | |
63 | */ | |
64 | @JSFProperty | |
65 | public abstract String getInfoStyle(); | |
66 | ||
67 | /** | |
68 | * If true, the message summary will be rendered as a tooltip (i.e. HTML title attribute). | |
69 | * | |
70 | */ | |
71 | @JSFProperty(defaultValue="false") | |
72 | public abstract boolean isTooltip(); | |
73 | ||
74 | /** | |
75 | * CSS class to be used for messages with severity "WARN". | |
76 | * | |
77 | */ | |
78 | @JSFProperty | |
79 | public abstract String getWarnClass(); | |
80 | ||
81 | /** | |
82 | * CSS style to be used for messages with severity "WARN". | |
83 | * | |
84 | */ | |
85 | @JSFProperty | |
86 | public abstract String getWarnStyle(); | |
87 | ||
88 | } |