public class DataLabelsPointerHandler extends AbstractEventHandler
| Constructor and Description |
|---|
DataLabelsPointerHandler()
Creates a callback setting
Style.Cursor.POINTER as pointer. |
DataLabelsPointerHandler(Style.Cursor cursor)
Creates a callback setting the pointer cursor what is passed as argument.
|
| 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 DataLabelsPointerHandler()
Style.Cursor.POINTER as pointer.public DataLabelsPointerHandler(Style.Cursor cursor)
cursor - the cursor type to use. If null, uses Style.Cursor.POINTER
as pointerpublic boolean onClick(AbstractChart<?,?> chart, Context context)
ClickEventHandleronClick in interface ClickEventHandleronClick in class AbstractEventHandlerchart - 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 LeaveEventHandleronLeave in class AbstractEventHandlerchart - 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 EnterEventHandleronEnter in class AbstractEventHandlerchart - chart instancecontext - DATALABELS plugin context instancetrue, the label is updated with the new context and the chart
re-rendered.