com.vaadin.flow.internal.nodefeature.
Class PolymerServerEventHandlers
All Implemented Interfaces:
Methods which are published as event-handlers on the client side.
For internal use only. May be renamed or removed in a future release.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.internal.nodefeature.NodeList
NodeList.SetView<T extends Serializable> -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.
Creates a new meta information list for the given state node.
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddHandlerMethod(Method method, Collection<Method> methods) Deprecated.
Add a handler to the NodeList.
protected voidensureSupportedParameterTypes(Method method) Deprecated.
Validate parameter support for given method.
protected StringDeprecated.
Gets the annotation FQN which is used to mark methods as handlers.
protected DisabledUpdateModegetUpdateMode(Method method) Deprecated.
Returns method's RPC communication mode from the client side to the server side when the element is disabled.
Methods inherited from class com.vaadin.flow.internal.nodefeature.AbstractServerHandlers
collectHandlerMethods, collectHandlerMethods, componentSet, ensureSupportedReturnType, getDisabledUpdateMode, hasHandlerMethods inherited from class com.vaadin.flow.internal.nodefeature.SerializableNodeList
addMethods inherited from class com.vaadin.flow.internal.nodefeature.NodeList
add, addAll, clear, collectChanges, forEachChild, generateChangesFromEmpty, get, getChangeTracker, indexOf, isNodeValues, iterator, onDetach, remove, sizeMethods inherited from class com.vaadin.flow.internal.nodefeature.NodeFeature
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach
-
Constructor Details
-
PolymerServerEventHandlers
Deprecated.Creates a new meta information list for the given state node.
Parameters:
node- the state node this list belongs to
-
-
Method Details
-
addHandlerMethod
Deprecated.Description copied from class:
AbstractServerHandlersAdd a handler to the NodeList.
Overrides:
addHandlerMethodin classAbstractServerHandlers<DeprecatedPolymerTemplate>Parameters:
method- Method to verify and addmethods- Collection to add method to -
ensureSupportedParameterTypes
Deprecated.Description copied from class:
AbstractServerHandlersValidate parameter support for given method. Should validate parameter amount and parameter types.
Specified by:
ensureSupportedParameterTypesin classAbstractServerHandlers<DeprecatedPolymerTemplate>Parameters:
method- Method to check parameters for -
getHandlerAnnotationFqn
Deprecated.Description copied from class:
AbstractServerHandlersGets the annotation FQN which is used to mark methods as handlers.
Specified by:
getHandlerAnnotationFqnin classAbstractServerHandlers<DeprecatedPolymerTemplate>Returns:
the handler marker annotation
-
getUpdateMode
Deprecated.Description copied from class:
AbstractServerHandlersReturns method's RPC communication mode from the client side to the server side when the element is disabled.
Specified by:
getUpdateModein classAbstractServerHandlers<DeprecatedPolymerTemplate>Parameters:
method- the method to get its update modeReturns:
RPC communication mode for the method, not
null
-
LitTemplateinstead. Read more details from the Vaadin blog.