public abstract class AbstractEventHandler extends Object implements EnterEventHandler, LeaveEventHandler, ClickEventHandler
Constructor and Description |
---|
AbstractEventHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
onClick(DataLabelsContext context,
ChartEventContext event)
Invoked to manage CLICK events on labels.
|
boolean |
onEnter(DataLabelsContext context,
ChartEventContext event)
Invoked to manage ENTER events on labels.
|
boolean |
onLeave(DataLabelsContext context,
ChartEventContext event)
Invoked to manage LEAVE events on labels.
|
public boolean onClick(DataLabelsContext context, ChartEventContext event)
ClickEventHandler
onClick
in interface ClickEventHandler
context
- DataLabelsPlugin.ID
plugin context instanceevent
- event instancetrue
, the label is updated with the new context and the chart re-rendered.public boolean onLeave(DataLabelsContext context, ChartEventContext event)
LeaveEventHandler
onLeave
in interface LeaveEventHandler
context
- DataLabelsPlugin.ID
plugin context instanceevent
- event instancetrue
, the label is updated with the new context and the chart re-rendered.public boolean onEnter(DataLabelsContext context, ChartEventContext event)
EnterEventHandler
onEnter
in interface EnterEventHandler
context
- DataLabelsPlugin.ID
plugin context instanceevent
- event instancetrue
, the label is updated with the new context and the chart re-rendered.