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)
ClickEventHandler
onClick
in interface ClickEventHandler
chart
- 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)
LeaveEventHandler
onLeave
in interface LeaveEventHandler
chart
- 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)
EnterEventHandler
onEnter
in interface EnterEventHandler
chart
- chart instancecontext
- DATALABELS plugin context instancetrue
, the label is updated with the new context and the chart
re-rendered.