Class PolymerEventListenerMap

All Implemented Interfaces:
Serializable

public class PolymerEventListenerMap extends NodeMap
Map of PolymerTemplate events with server-side listeners. The key set of this map describes the event types for which event date is present.

For internal use only. May be renamed or removed in a future release.

Since:
1.0
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • PolymerEventListenerMap

      public PolymerEventListenerMap(StateNode node)
      Creates a new map feature for the given node.
      Parameters:
      node - the node that the feature belongs to
  • Method Details

    • add

      public Registration add(String methodName, String[] eventDataExpressions)
      Adds a listener for a event created from a template method.
      Parameters:
      methodName - the name of the method
      eventDataExpressions - the event data expressions
      Returns:
      handler to remove eventType data