1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package com.xpn.xwiki.plugin.charts.params; |
21 |
|
|
22 |
|
import org.jfree.ui.RectangleAnchor; |
23 |
|
|
|
|
| 0% |
Uncovered Elements: 16 (16) |
Complexity: 4 |
Complexity Density: 0.33 |
|
24 |
|
public class RectangleAnchorChartParam extends ChoiceChartParam |
25 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
26 |
0 |
public RectangleAnchorChartParam(String name)... |
27 |
|
{ |
28 |
0 |
super(name); |
29 |
|
} |
30 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
31 |
0 |
public RectangleAnchorChartParam(String name, boolean isOptional)... |
32 |
|
{ |
33 |
0 |
super(name, isOptional); |
34 |
|
} |
35 |
|
|
|
|
| 0% |
Uncovered Elements: 9 (9) |
Complexity: 1 |
Complexity Density: 0.11 |
|
36 |
0 |
@Override... |
37 |
|
protected void init() |
38 |
|
{ |
39 |
0 |
addChoice("bottom", RectangleAnchor.BOTTOM); |
40 |
0 |
addChoice("bottom-left", RectangleAnchor.BOTTOM_LEFT); |
41 |
0 |
addChoice("bottom-right", RectangleAnchor.BOTTOM_RIGHT); |
42 |
0 |
addChoice("center", RectangleAnchor.CENTER); |
43 |
0 |
addChoice("left", RectangleAnchor.LEFT); |
44 |
0 |
addChoice("right", RectangleAnchor.RIGHT); |
45 |
0 |
addChoice("top", RectangleAnchor.TOP); |
46 |
0 |
addChoice("top-left", RectangleAnchor.TOP_LEFT); |
47 |
0 |
addChoice("top-right", RectangleAnchor.TOP_RIGHT); |
48 |
|
} |
49 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
50 |
0 |
@Override... |
51 |
|
public Class getType() |
52 |
|
{ |
53 |
0 |
return RectangleAnchor.class; |
54 |
|
} |
55 |
|
} |