1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package org.primefaces.extensions.event;
23
24 import javax.faces.component.UIComponent;
25 import javax.faces.component.behavior.Behavior;
26
27 import org.primefaces.event.AbstractAjaxBehaviorEvent;
28
29 public class EChartEvent extends AbstractAjaxBehaviorEvent {
30 private static final long serialVersionUID = 1L;
31
32 private String name;
33 private int dataIndex;
34 private int seriesIndex;
35 private String componentType;
36 private String componentSubType;
37 private String seriesType;
38 private String seriesName;
39 private String data;
40 private int componentIndex;
41
42 public EChartEvent(UIComponent component, Behavior behavior, String name, int dataIndex, int seriesIndex, String componentType, String componentSubType,
43 String seriesType, String seriesName, String data, int componentIndex) {
44 super(component, behavior);
45 this.name = name;
46 this.dataIndex = dataIndex;
47 this.seriesIndex = seriesIndex;
48 this.componentType = componentType;
49 this.componentSubType = componentSubType;
50 this.seriesType = seriesType;
51 this.seriesName = seriesName;
52 this.data = data;
53 this.componentIndex = componentIndex;
54 }
55
56 public String getName() {
57 return name;
58 }
59
60 public int getDataIndex() {
61 return dataIndex;
62 }
63
64 public int getSeriesIndex() {
65 return seriesIndex;
66 }
67
68 public String getComponentType() {
69 return componentType;
70 }
71
72 public String getComponentSubType() {
73 return componentSubType;
74 }
75
76 public String getSeriesType() {
77 return seriesType;
78 }
79
80 public String getSeriesName() {
81 return seriesName;
82 }
83
84 public String getData() {
85 return data;
86 }
87
88 public int getComponentIndex() {
89 return componentIndex;
90 }
91 }