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:
Serializable
- Enclosing class:
- AbstractLogin
@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
-