public class EventDataCache extends Object implements Serializable
ComponentEvent
 types.
 For internal use only. May be renamed or removed in a future release.
| Constructor and Description | 
|---|
EventDataCache()  | 
| Modifier and Type | Method and Description | 
|---|---|
Optional<LinkedHashMap<String,Class<?>>> | 
getDataExpressions(Class<? extends ComponentEvent<?>> eventType)
Gets the cached data expressions for the given event type. 
 | 
<T extends ComponentEvent<?>> | 
getEventConstructor(Class<T> eventType)
Gets the cached DOM event constructor for the given event type. 
 | 
LinkedHashMap<String,Class<?>> | 
setDataExpressions(Class<? extends ComponentEvent<?>> eventType,
                  LinkedHashMap<String,Class<?>> expressions)
Stores the given data expressions for the given event type in the cache. 
 | 
<T extends ComponentEvent<?>> | 
setEventConstructor(Class<T> eventType,
                   Constructor<T> constructor)
Stores the given DOM event constructor for the given event type in the
 cache. 
 | 
public Optional<LinkedHashMap<String,Class<?>>> getDataExpressions(Class<? extends ComponentEvent<?>> eventType)
eventType - the component event typepublic LinkedHashMap<String,Class<?>> setDataExpressions(Class<? extends ComponentEvent<?>> eventType, LinkedHashMap<String,Class<?>> expressions)
eventType - the component event typeexpressions - the data expressions to storepublic <T extends ComponentEvent<?>> Optional<Constructor<T>> getEventConstructor(Class<T> eventType)
T - the component event typeeventType - the component event typepublic <T extends ComponentEvent<?>> Constructor<T> setEventConstructor(Class<T> eventType, Constructor<T> constructor)
T - the event typeeventType - the component event typeconstructor - the DOM event constructor to storeCopyright © 2021. All rights reserved.