1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package org.xwiki.rendering.macro.container; |
21 |
|
|
22 |
|
import org.xwiki.properties.annotation.PropertyDescription; |
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
@version |
29 |
|
@since |
30 |
|
|
|
|
| 66.7% |
Uncovered Elements: 4 (12) |
Complexity: 6 |
Complexity Density: 1 |
|
31 |
|
public class ContainerMacroParameters |
32 |
|
{ |
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
private boolean justify; |
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
private String layoutStyle; |
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
private String cssClass; |
47 |
|
|
48 |
|
|
49 |
|
@return |
50 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
3 |
public String getLayoutStyle()... |
52 |
|
{ |
53 |
3 |
return layoutStyle; |
54 |
|
} |
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
@param |
60 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
61 |
3 |
@PropertyDescription("The identifier of the container layout (e.g. \"columns\"). If no style is provided, the "... |
62 |
|
+ "container content will be rendered as is.") |
63 |
|
public void setLayoutStyle(String layoutStyle) |
64 |
|
{ |
65 |
3 |
this.layoutStyle = layoutStyle; |
66 |
|
} |
67 |
|
|
68 |
|
|
69 |
|
@return |
70 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
71 |
3 |
public boolean isJustify()... |
72 |
|
{ |
73 |
3 |
return justify; |
74 |
|
} |
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
@param |
80 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
81 |
0 |
@PropertyDescription("Flag specifying whether the content in this container is justified or not.")... |
82 |
|
public void setJustify(boolean justify) |
83 |
|
{ |
84 |
0 |
this.justify = justify; |
85 |
|
} |
86 |
|
|
87 |
|
|
88 |
|
@return |
89 |
|
@since |
90 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
91 |
3 |
public String getCssClass()... |
92 |
|
{ |
93 |
3 |
return cssClass; |
94 |
|
} |
95 |
|
|
96 |
|
|
97 |
|
@param |
98 |
|
@since |
99 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
100 |
0 |
@PropertyDescription("Value of the HTML class attribute to add to this container, used to style in CSS.")... |
101 |
|
public void setCssClass(String cssClass) |
102 |
|
{ |
103 |
0 |
this.cssClass = cssClass; |
104 |
|
} |
105 |
|
} |