We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.login.
Package com.vaadin.flow.component.login
Class AbstractLogin.LoginEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<AbstractLogin>
com.vaadin.flow.component.login.AbstractLogin.LoginEvent
All Implemented Interfaces:
Enclosing class:
@DomEvent("login")
public static class AbstractLogin.LoginEvent
extends ComponentEvent<AbstractLogin>
`login` is fired when the user either clicks Submit button or presses an Enter key. Event is fired only if client-side validation passed.
See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionLoginEvent
(AbstractLogin source, boolean fromClient, String username, String password) -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
LoginEvent
public LoginEvent(AbstractLogin source, boolean fromClient, @EventData("event.detail.username") String username, @EventData("event.detail.password") String password)
-
-
Method Details
-
getUsername
-
getPassword
-