public final class DataLabelsSelectionHandler extends DataLabelsPointerHandler
DataLabelsPlugin.ID event callbacks to invoke dataset selection handlers if there were defined.DEFAULT_CURSOR| Constructor and Description | 
|---|
| DataLabelsSelectionHandler()Creates a callback setting  Style.Cursor.POINTERas pointer. | 
| DataLabelsSelectionHandler(Style.Cursor cursor)Creates a callback setting the pointer cursor what is passed as argument. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addDatasetSelectionEventHandler(DatasetSelectionEventHandler handler)Adds a dataset selection handler instance to be invoke at click event. | 
| boolean | onClick(IsChart chart,
       ScriptableContext context)Invoked to manage CLICK events on labels. | 
| boolean | removeDatasetSelectionEventHandler(DatasetSelectionEventHandler handler)Removes a dataset selection handler instance. | 
getCursor, onEnter, onLeavepublic DataLabelsSelectionHandler()
Style.Cursor.POINTER as pointer.public DataLabelsSelectionHandler(Style.Cursor cursor)
cursor - the cursor type to use. If null, uses Style.Cursor.POINTER
            as pointerpublic void addDatasetSelectionEventHandler(DatasetSelectionEventHandler handler)
handler - dataset selection handler instance to be invoke at click eventpublic boolean removeDatasetSelectionEventHandler(DatasetSelectionEventHandler handler)
handler - dataset selection handler instancetrue if the handler has been removed, otherwise falsepublic boolean onClick(IsChart chart, ScriptableContext context)
ClickEventHandleronClick in interface ClickEventHandleronClick in class AbstractEventHandlerchart - chart instancecontext - DataLabelsPlugin.ID plugin context instancetrue, the label is updated with the new context and the chart
         re-rendered.