Class ScatterChart.ScatterOnChartClick
Object
ObjectIdentity
BacklinkBuilder<ScatterChart>
- Enclosing class:
ScatterChart
public class ScatterChart.ScatterOnChartClick
extends ChartEvents.OnChartClick<ScatterChart,ScatterChart.ScatterOnChartClick>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class ChartEvents.OnChartClick
ChartEvents.OnChartClick.ClickTriggerEvent<T extends ChartEvents.OnChartClick<C,E>.ClickTriggerEvent<?>> Nested classes/interfaces inherited from class AbstractChartEvent
AbstractChartEvent.TriggerEvent<T extends AbstractChartEvent<C,E>.TriggerEvent<?>> -
Field Summary
Fields inherited from class BacklinkBuilder
METHOD_BACKFields inherited from class ObjectIdentity
classId, idGenerator, instanceId, invocations, m, NONE, parentObjectIdentity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontriggerEvent(String eventName) Names the Dashboard event this click should fire, returning a builder for configuring what data accompanies it.Methods inherited from class AbstractChartEvent
getThisMethods inherited from class BacklinkBuilder
back, getParentMethods inherited from class ObjectIdentity
addInvocation, addInvocation, addInvocationInternal, getClassId
-
Constructor Details
-
ScatterOnChartClick
public ScatterOnChartClick()
-
-
Method Details
-
triggerEvent
Description copied from class:AbstractChartEventNames the Dashboard event this click should fire, returning a builder for configuring what data accompanies it. The concrete return type differs per event kind, for exampleChartEvents.OnRowClick.triggerEvent(String)returns aChartEvents.OnRowClick.RowClickTriggerEvent, which is why this method is declared abstract here rather than implemented once for every event kind.A Dashboard-wide-unique event name is recommended, typically obtained via
api.dashboardWideEvent(String)rather than a hardcoded literal, since Dashboard events are global across browser tabs.- Specified by:
triggerEventin classAbstractChartEvent<ScatterChart,ScatterChart.ScatterOnChartClick> - Parameters:
eventName- the name of the Dashboard event to fire on click. Must be neithernullnor empty.- Returns:
- a new
AbstractChartEvent.TriggerEventbuilder for this event. Nevernull.
-