com.vaadin.flow.internal.nodefeature.
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:
@Deprecated public class PolymerServerEventHandlers extends AbstractServerHandlers<DeprecatedPolymerTemplate>
Deprecated.Polymer template support is deprecated - we recommend you to useLitTemplate
instead. 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:
-
-
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 Modifier and Type Method Description protected void
addHandlerMethod(Method method, Collection<Method> methods)
Deprecated.
Add a handler to the NodeList.
protected void
ensureSupportedParameterTypes(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 String
getHandlerAnnotationFqn()
Deprecated.
Gets the annotation FQN which is used to mark methods as handlers.
protected DisabledUpdateMode
getUpdateMode(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:
AbstractServerHandlers
Add a handler to the NodeList.
Overrides:
addHandlerMethod
in 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:
AbstractServerHandlers
Validate parameter support for given method. Should validate parameter amount and parameter types.
Specified by:
ensureSupportedParameterTypes
in classAbstractServerHandlers<DeprecatedPolymerTemplate>
Parameters:
method
- Method to check parameters for
-
getHandlerAnnotation
protected Class<? extends Annotation> getHandlerAnnotation()
Deprecated.Description copied from class:
AbstractServerHandlers
Gets the annotation which is used to mark methods as handlers.
Specified by:
getHandlerAnnotation
in classAbstractServerHandlers<DeprecatedPolymerTemplate>
Returns:
the handler marker annotation
-
getHandlerAnnotationFqn
protected String getHandlerAnnotationFqn()
Deprecated.Description copied from class:
AbstractServerHandlers
Gets the annotation FQN which is used to mark methods as handlers.
Overrides:
getHandlerAnnotationFqn
in classAbstractServerHandlers<DeprecatedPolymerTemplate>
Returns:
the handler marker annotation
-
getUpdateMode
protected DisabledUpdateMode getUpdateMode(Method method)
Deprecated.Description copied from class:
AbstractServerHandlers
Returns method's RPC communication mode from the client side to the server side when the element is disabled.
Specified by:
getUpdateMode
in classAbstractServerHandlers<DeprecatedPolymerTemplate>
Parameters:
method
- the method to get its update modeReturns:
RPC communication mode for the method, not
null
-
-