Package com.vaadin.event
Class FieldEvents.FocusAndBlurServerRpcDecorator
- java.lang.Object
-
- com.vaadin.event.FieldEvents.FocusAndBlurServerRpcImpl
-
- com.vaadin.event.FieldEvents.FocusAndBlurServerRpcDecorator
-
- All Implemented Interfaces:
FieldRpc.BlurServerRpc,FieldRpc.FocusAndBlurServerRpc,FieldRpc.FocusServerRpc,ServerRpc,Serializable
- Enclosing interface:
- FieldEvents
public static class FieldEvents.FocusAndBlurServerRpcDecorator extends FieldEvents.FocusAndBlurServerRpcImpl
Focus and blur server RPC implementation which fires focus or blur event using a provided event handler.- Since:
- 8.0
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FocusAndBlurServerRpcDecorator(Component component, SerializableConsumer<Component.Event> eventHandler)Create a new decorator instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfireEvent(Component.Event event)-
Methods inherited from class com.vaadin.event.FieldEvents.FocusAndBlurServerRpcImpl
blur, focus
-
-
-
-
Constructor Detail
-
FocusAndBlurServerRpcDecorator
public FocusAndBlurServerRpcDecorator(Component component, SerializableConsumer<Component.Event> eventHandler)
Create a new decorator instance.- Parameters:
component- the source events componenteventHandler- the event handler to delegate event firing
-
-
Method Detail
-
fireEvent
protected void fireEvent(Component.Event event)
- Specified by:
fireEventin classFieldEvents.FocusAndBlurServerRpcImpl
-
-