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 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 String
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 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:
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
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 -
getHandlerAnnotationFqn
Deprecated.Description copied from class:
AbstractServerHandlers
Gets the annotation FQN which is used to mark methods as handlers.
Specified by:
getHandlerAnnotationFqn
in classAbstractServerHandlers<DeprecatedPolymerTemplate>
Returns:
the handler marker annotation
-
getUpdateMode
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
-
LitTemplate
instead. Read more details from the Vaadin blog.