public class PolymerServerEventHandlers extends AbstractServerHandlers<PolymerTemplate<?>>
For internal use only. May be renamed or removed in a future release.
NodeList.SetView<T extends Serializable>| Constructor and Description |
|---|
PolymerServerEventHandlers(StateNode node)
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)
Add a handler to the NodeList.
|
protected void |
ensureSupportedParameterTypes(Method method)
Validate parameter support for given method.
|
protected Class<? extends EventHandler> |
getHandlerAnnotation()
Gets the annotation which is used to mark methods as handlers.
|
protected DisabledUpdateMode |
getUpdateMode(Method method)
Returns method's RPC communication mode from the client side to the
server side when the element is disabled.
|
collectHandlerMethods, collectHandlerMethods, componentSet, ensureSupportedReturnType, getDisabledUpdateMode, hasHandleraddadd, addAll, clear, collectChanges, forEachChild, generateChangesFromEmpty, get, getChangeTracker, indexOf, isNodeValues, iterator, onDetach, remove, sizeallowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttachpublic PolymerServerEventHandlers(StateNode node)
node - the state node this list belongs toprotected void addHandlerMethod(Method method, Collection<Method> methods)
AbstractServerHandlersaddHandlerMethod in class AbstractServerHandlers<PolymerTemplate<?>>method - Method to verify and addmethods - Collection to add method toprotected void ensureSupportedParameterTypes(Method method)
AbstractServerHandlersensureSupportedParameterTypes in class AbstractServerHandlers<PolymerTemplate<?>>method - Method to check parameters forprotected Class<? extends EventHandler> getHandlerAnnotation()
AbstractServerHandlersgetHandlerAnnotation in class AbstractServerHandlers<PolymerTemplate<?>>protected DisabledUpdateMode getUpdateMode(Method method)
AbstractServerHandlersgetUpdateMode in class AbstractServerHandlers<PolymerTemplate<?>>method - the method to get its update modenullCopyright © 2025. All rights reserved.