Package com.vaadin.flow.component
Class InputEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<Component>
-
- com.vaadin.flow.component.InputEvent
-
- All Implemented Interfaces:
Serializable
@DomEvent("input") public class InputEvent extends ComponentEvent<Component>
Event fired when the component has received any type of input (e.g. click, key press).This event is specifically intended to the used for the
input
event in the DOM API.- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description InputEvent(Component source, boolean fromClient)
Creates a new input event.
-
Method Summary
-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
InputEvent
public InputEvent(Component source, boolean fromClient)
Creates a new input event.- Parameters:
source
- the component that fired the eventfromClient
-true
if the event was originally fired on the client,false
if the event originates from server-side logic
-
-