@@ -29,56 +29,33 @@ public class Title
29
29
protected Object padding ;
30
30
protected Object text ;
31
31
32
- /**
33
- * @see #setAlign(String)
34
- */
35
32
public String getAlign ()
36
33
{
37
34
return this .align ;
38
35
}
39
36
40
- /**
41
- * Alignment of the title
42
- *
43
- * <p>Default: center</p>
44
- */
45
37
public Title setAlign (final String align )
46
38
{
47
39
this .align = align ;
48
40
return this ;
49
41
}
50
42
51
- /**
52
- * @see #setColor(Object)
53
- */
54
43
public Object getColor ()
55
44
{
56
45
return this .color ;
57
46
}
58
47
59
- /**
60
- * Color of text
61
- */
62
48
public Title setColor (final Object color )
63
49
{
64
50
this .color = color ;
65
51
return this ;
66
52
}
67
53
68
- /**
69
- * @see #setFullSize(Boolean)
70
- */
71
54
public Boolean getFullSize ()
72
55
{
73
56
return this .fullSize ;
74
57
}
75
58
76
- /**
77
- * Marks that this box should take the full width/height of the canvas. If false, the box is sized and placed
78
- * above/beside the chart area.
79
- *
80
- * <p>Default: true</p>
81
- */
82
59
public Title setFullSize (final Boolean fullSize )
83
60
{
84
61
this .fullSize = fullSize ;
@@ -96,92 +73,44 @@ public Title setFont(final Font font)
96
73
return this ;
97
74
}
98
75
99
- /**
100
- * @see #setDisplay(Boolean)
101
- */
102
76
public Boolean getDisplay ()
103
77
{
104
78
return this .display ;
105
79
}
106
80
107
- /**
108
- * <p>
109
- * Display the title block
110
- * </p>
111
- *
112
- * <p>
113
- * Default {@code false}
114
- * </p>
115
- */
116
81
public Title setDisplay (final Boolean display )
117
82
{
118
83
this .display = display ;
119
84
return this ;
120
85
}
121
86
122
- /**
123
- * @see #setPosition(String)
124
- */
125
87
public String getPosition ()
126
88
{
127
89
return this .position ;
128
90
}
129
91
130
- /**
131
- * <p>
132
- * Position of the title. Only 'top' or 'bottom' are currently allowed
133
- * </p>
134
- *
135
- * <p>
136
- * Default {@code 'top'}
137
- * </p>
138
- */
139
92
public Title setPosition (final String position )
140
93
{
141
94
this .position = position ;
142
95
return this ;
143
96
}
144
97
145
- /**
146
- * @see #setPadding(Integer)
147
- */
148
98
public Object getPadding ()
149
99
{
150
100
return this .padding ;
151
101
}
152
102
153
- /**
154
- * <p>
155
- * Number of pixels to add above and below the title text
156
- * </p>
157
- *
158
- * <p>
159
- * Default {@code 10}
160
- * </p>
161
- */
162
103
public Title setPadding (final Object padding )
163
104
{
164
105
this .padding = padding ;
165
106
return this ;
166
107
}
167
108
168
- /**
169
- * @see #setText(String)
170
- */
171
109
public Object getText ()
172
110
{
173
111
return this .text ;
174
112
}
175
113
176
- /**
177
- * <p>
178
- * Title text
179
- * </p>
180
- *
181
- * <p>
182
- * Default {@code ""}
183
- * </p>
184
- */
185
114
public Title setText (final Object text )
186
115
{
187
116
this .text = text ;
0 commit comments