Caplin Trader 4.0.3

Class: module:caplin/element/handler/ClickHandler

module:caplin/element/handler/ClickHandler

Constructor

new module:caplin/element/handler/ClickHandler()

Notifies all registered module:caplin/element/RendererEventListeners when the control is clicked by the user.

ClickHandler is typically used in the XML Renderer Framework. Raises "click" renderer event when the element receives the "click" event.

Extends

Methods

initialise(renderer, attributes)

Allows the handler to perform any initialisation code on the renderer. This method is called after the renderer is bound to the view for the first time. Implementing this method is optional.
Parameters:
Name Type Description
renderer module:caplin/element/Renderer The renderer that is being initialised
attributes Map Any configuration parameters for this handler.
Inherited From: