LitTemplate
instead. Read more details from the
Vaadin blog.@Deprecated public class PolymerServerEventHandlers extends AbstractServerHandlers<DeprecatedPolymerTemplate>
For internal use only. May be renamed or removed in a future release.
NodeList.SetView<T extends Serializable>
Constructor and Description |
---|
PolymerServerEventHandlers(StateNode node)
Deprecated.
Creates a new meta information list for the given state node.
|
Modifier and Type | Method and 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.
|
collectHandlerMethods, collectHandlerMethods, componentSet, ensureSupportedReturnType, getDisabledUpdateMode, hasHandler
add
add, addAll, clear, collectChanges, forEachChild, generateChangesFromEmpty, get, getChangeTracker, indexOf, isNodeValues, iterator, onDetach, remove, size
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach
public PolymerServerEventHandlers(StateNode node)
node
- the state node this list belongs toprotected void addHandlerMethod(Method method, Collection<Method> methods)
AbstractServerHandlers
addHandlerMethod
in class AbstractServerHandlers<DeprecatedPolymerTemplate>
method
- Method to verify and addmethods
- Collection to add method toprotected void ensureSupportedParameterTypes(Method method)
AbstractServerHandlers
ensureSupportedParameterTypes
in class AbstractServerHandlers<DeprecatedPolymerTemplate>
method
- Method to check parameters forprotected Class<? extends Annotation> getHandlerAnnotation()
AbstractServerHandlers
getHandlerAnnotation
in class AbstractServerHandlers<DeprecatedPolymerTemplate>
protected String getHandlerAnnotationFqn()
AbstractServerHandlers
getHandlerAnnotationFqn
in class AbstractServerHandlers<DeprecatedPolymerTemplate>
protected DisabledUpdateMode getUpdateMode(Method method)
AbstractServerHandlers
getUpdateMode
in class AbstractServerHandlers<DeprecatedPolymerTemplate>
method
- the method to get its update modenull
Copyright © 2021. All rights reserved.