13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package software .xdev .chartjs .model .options .plugins .zoom ;
16
+ package software .xdev .chartjs .model .options .plugins .zoom . zoom ;
17
17
18
18
import software .xdev .chartjs .model .color .Color ;
19
19
20
20
21
+ /**
22
+ * <a href="https://www.chartjs.org/chartjs-plugin-zoom/latest/guide/options.html#drag-options">ChartJS docs</a>
23
+ */
21
24
public class DragOptions
22
25
{
23
26
protected Boolean enabled ;
@@ -30,7 +33,7 @@ public class DragOptions
30
33
31
34
public Boolean getEnabled ()
32
35
{
33
- return enabled ;
36
+ return this . enabled ;
34
37
}
35
38
36
39
public DragOptions setEnabled (final Boolean enabled )
@@ -41,7 +44,7 @@ public DragOptions setEnabled(final Boolean enabled)
41
44
42
45
public Color getBackgroundColor ()
43
46
{
44
- return backgroundColor ;
47
+ return this . backgroundColor ;
45
48
}
46
49
47
50
public DragOptions setBackgroundColor (final Color backgroundColor )
@@ -52,7 +55,7 @@ public DragOptions setBackgroundColor(final Color backgroundColor)
52
55
53
56
public Color getBorderColor ()
54
57
{
55
- return borderColor ;
58
+ return this . borderColor ;
56
59
}
57
60
58
61
public DragOptions setBorderColor (final Color borderColor )
@@ -63,7 +66,7 @@ public DragOptions setBorderColor(final Color borderColor)
63
66
64
67
public Integer getBorderWidth ()
65
68
{
66
- return borderWidth ;
69
+ return this . borderWidth ;
67
70
}
68
71
69
72
public DragOptions setBorderWidth (final Integer borderWidth )
@@ -74,7 +77,7 @@ public DragOptions setBorderWidth(final Integer borderWidth)
74
77
75
78
public String getDrawTime ()
76
79
{
77
- return drawTime ;
80
+ return this . drawTime ;
78
81
}
79
82
80
83
public DragOptions setDrawTime (final String drawTime )
@@ -85,7 +88,7 @@ public DragOptions setDrawTime(final String drawTime)
85
88
86
89
public Integer getThreshold ()
87
90
{
88
- return threshold ;
91
+ return this . threshold ;
89
92
}
90
93
91
94
public DragOptions setThreshold (final Integer threshold )
@@ -96,7 +99,7 @@ public DragOptions setThreshold(final Integer threshold)
96
99
97
100
public String getModifierKey ()
98
101
{
99
- return modifierKey ;
102
+ return this . modifierKey ;
100
103
}
101
104
102
105
public DragOptions setModifierKey (final String modifierKey )
0 commit comments