Class ChartEvents.OnRowClick<C extends AbstractChartBuilder<?>>
Object
ObjectIdentity
BacklinkBuilder<C>
AbstractChartEvent<C,ChartEvents.OnRowClick<C>>
OnRowClick<C>
- Enclosing class:
ChartEvents
public static class ChartEvents.OnRowClick<C extends AbstractChartBuilder<?>>
extends AbstractChartEvent<C,ChartEvents.OnRowClick<C>>
The click-event builder for a row click on a chart's Data tab, obtained from
AbstractChartBuilder.onRowClick() rather than instantiated directly.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassThe event-payload builder for a row click, obtained fromtriggerEvent(String)rather than instantiated directly.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
-
OnRowClick
-
-
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 exampletriggerEvent(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<C extends AbstractChartBuilder<?>,ChartEvents.OnRowClick<C extends AbstractChartBuilder<?>>> - 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.
-