public class ElementListenerMap extends NodeMap
For internal use only. May be renamed or removed in a future release.
| Modifier and Type | Field and Description |
|---|---|
static String |
ALWAYS_TRUE_FILTER
Dummy filter string that always passes.
|
| Constructor and Description |
|---|
ElementListenerMap(StateNode node)
Creates a new element listener map for the given node.
|
| Modifier and Type | Method and Description |
|---|---|
DomListenerRegistration |
add(String eventType,
DomEventListener listener)
Add eventData for an event type.
|
void |
fireEvent(DomEvent event)
Fires an event to all listeners registered for the given type.
|
DisabledUpdateMode |
getPropertySynchronizationMode(String propertyName)
Gets the most permissive update mode for any event registration that is
configured to synchronize the given property.
|
clear, collectChanges, contains, forEachChild, generateChangesFromEmpty, get, getOrDefault, getOrDefault, getOrDefault, keySet, mayUpdateFromClient, put, put, remove, updateFromClientallowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetachpublic static final String ALWAYS_TRUE_FILTER
public ElementListenerMap(StateNode node)
node - the node that the map belongs topublic DomListenerRegistration add(String eventType, DomEventListener listener)
eventType - the event typelistener - the listener to addpublic void fireEvent(DomEvent event)
event - the event to firepublic DisabledUpdateMode getPropertySynchronizationMode(String propertyName)
propertyName - the property name to check, not nullnull if
synchronization is not configured for the given propertyCopyright © 2025. All rights reserved.