Class PolymerEventListenerMap
- java.lang.Object
-
- com.vaadin.flow.internal.nodefeature.NodeFeature
-
- com.vaadin.flow.internal.nodefeature.NodeMap
-
- com.vaadin.flow.internal.nodefeature.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolymerEventListenerMap(StateNode node)
Creates a new map feature for the given node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Registration
add(String methodName, String[] eventDataExpressions)
Adds a listener for a event created from a template method.-
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeMap
clear, collectChanges, contains, forEachChild, generateChangesFromEmpty, get, getOrDefault, getOrDefault, getOrDefault, keySet, mayUpdateFromClient, producePutChange, put, put, remove, updateFromClient
-
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeFeature
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetach
-
-
-
-
Constructor Detail
-
PolymerEventListenerMap
public PolymerEventListenerMap(StateNode node)
Creates a new map feature for the given node.- Parameters:
node
- the node that the feature belongs to
-
-
Method Detail
-
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 methodeventDataExpressions
- the event data expressions- Returns:
- handler to remove eventType data
-
-