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.
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(value="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
Constructors Constructor and Description LoginEvent(AbstractLogin source, boolean fromClient, String username, String password)
-
Method Summary
All Methods Modifier and Type Method and Description String
getPassword()
String
getUsername()
-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
LoginEvent
public LoginEvent(AbstractLogin source, boolean fromClient, @EventData(value="event.detail.username") String username, @EventData(value="event.detail.password") String password)
-
-