ColorLegendClickedHandler

class cee.ColorLegendClickedHandler()

Defines the signature of ColorLegendClickHandlers, which are invoked when the user clicks on a color legend.

The resultId and the containing view index of the scalar associated with the color legend is passed to the handler function. A typical response to this would be to show the settings for this scalar in the UI, or present a context menu letting the user manipulate the scalar/color legend.