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