private GwtPointEvents getPointEvents(GwtInvientChartsConfig options,
UIDL pointEventsUIDL) {
VConsole.log("Enter [getPointEvents]");
// Point events
boolean foundEvt = false;
GwtPointEvents pointEvents = GwtPointEvents.create();
if (pointEventsUIDL.hasAttribute("legendItemClick")
&& pointEventsUIDL.getBooleanAttribute("legendItemClick")) {
pointEvents.setLegendItemClickEvent(EventCallbacks
.getPieLegendItemClick(this));
foundEvt = true;
}
if (pointEventsUIDL.hasAttribute("click")
&& pointEventsUIDL.getBooleanAttribute("click")) {
pointEvents.setClickEvent(EventCallbacks.getPointClick(this));
foundEvt = true;
}
if (pointEventsUIDL.hasAttribute("remove")
&& pointEventsUIDL.getBooleanAttribute("remove")) {
pointEvents.setRemoveEvent(EventCallbacks.getPointRemove(this));
foundEvt = true;
}
if (pointEventsUIDL.hasAttribute("select")
&& pointEventsUIDL.getBooleanAttribute("select")) {
pointEvents.setSelectEvent(EventCallbacks.getPointSelect(this));
foundEvt = true;
}
if (pointEventsUIDL.hasAttribute("unselect")
&& pointEventsUIDL.getBooleanAttribute("unselect")) {
pointEvents.setUnselectEvent(EventCallbacks.getPointUnselect(this));
foundEvt = true;
}
VConsole.log("Exit [getPointEvents]");
if (foundEvt) {
return pointEvents;