Class PolymerServerEventHandlers
- java.lang.Object
-
- com.vaadin.flow.internal.nodefeature.NodeFeature
-
- com.vaadin.flow.internal.nodefeature.NodeList<T>
-
- com.vaadin.flow.internal.nodefeature.SerializableNodeList<String>
-
- com.vaadin.flow.internal.nodefeature.AbstractServerHandlers<DeprecatedPolymerTemplate>
-
- com.vaadin.flow.internal.nodefeature.PolymerServerEventHandlers
-
- All Implemented Interfaces:
Serializable
@Deprecated public class PolymerServerEventHandlers extends AbstractServerHandlers<DeprecatedPolymerTemplate>
Deprecated.Polymer template support is deprecated - we recommend you to useLitTemplateinstead. Read more details from the Vaadin blog.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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.flow.internal.nodefeature.NodeList
NodeList.SetView<T extends Serializable>
-
-
Constructor Summary
Constructors Constructor Description PolymerServerEventHandlers(StateNode node)Deprecated.Creates a new meta information list for the given state node.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected 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 Class<? extends Annotation>getHandlerAnnotation()Deprecated.Gets the annotation which is used to mark methods as handlers.protected StringgetHandlerAnnotationFqn()Deprecated.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, hasHandler
-
Methods inherited from class com.vaadin.flow.internal.nodefeature.SerializableNodeList
add
-
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeList
add, addAll, clear, collectChanges, forEachChild, generateChangesFromEmpty, get, getChangeTracker, indexOf, isNodeValues, iterator, onDetach, remove, size
-
Methods inherited from class com.vaadin.flow.internal.nodefeature.NodeFeature
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach
-
-
-
-
Constructor Detail
-
PolymerServerEventHandlers
public PolymerServerEventHandlers(StateNode node)
Deprecated.Creates a new meta information list for the given state node.- Parameters:
node- the state node this list belongs to
-
-
Method Detail
-
addHandlerMethod
protected void addHandlerMethod(Method method, Collection<Method> methods)
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
protected void ensureSupportedParameterTypes(Method method)
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
-
getHandlerAnnotation
protected Class<? extends Annotation> getHandlerAnnotation()
Deprecated.Description copied from class:AbstractServerHandlersGets the annotation which is used to mark methods as handlers.- Specified by:
getHandlerAnnotationin classAbstractServerHandlers<DeprecatedPolymerTemplate>- Returns:
- the handler marker annotation
-
getHandlerAnnotationFqn
protected String getHandlerAnnotationFqn()
Deprecated.Description copied from class:AbstractServerHandlersGets the annotation FQN which is used to mark methods as handlers.- Overrides:
getHandlerAnnotationFqnin classAbstractServerHandlers<DeprecatedPolymerTemplate>- Returns:
- the handler marker annotation
-
getUpdateMode
protected DisabledUpdateMode getUpdateMode(Method method)
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 mode- Returns:
- RPC communication mode for the method, not
null
-
-