public abstract class AbstractEventHandler extends Object implements EnterEventHandler, LeaveEventHandler, ClickEventHandler
| Constructor and Description |
|---|
AbstractEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onClick(AbstractChart<?,?> chart,
Context context)
Invoked to manage CLICK events on labels.
|
boolean |
onEnter(AbstractChart<?,?> chart,
Context context)
Invoked to manage ENTER events on labels.
|
boolean |
onLeave(AbstractChart<?,?> chart,
Context context)
Invoked to manage LEAVE events on labels.
|
public boolean onClick(AbstractChart<?,?> chart, Context context)
ClickEventHandleronClick in interface ClickEventHandlerchart - chart instancecontext - DATALABELS plugin context instancetrue, the label is updated with the new context and the chart
re-rendered.public boolean onLeave(AbstractChart<?,?> chart, Context context)
LeaveEventHandleronLeave in interface LeaveEventHandlerchart - chart instancecontext - DATALABELS plugin context instancetrue, the label is updated with the new context and the chart
re-rendered.public boolean onEnter(AbstractChart<?,?> chart, Context context)
EnterEventHandleronEnter in interface EnterEventHandlerchart - chart instancecontext - DATALABELS plugin context instancetrue, the label is updated with the new context and the chart
re-rendered.