C - Source component.S - Information about the state.public class StateChangeEvent<S extends Serializable,C extends com.vaadin.flow.component.Component & HasState<S>>
extends com.vaadin.flow.component.ComponentEvent<C>
source| Constructor and Description |
|---|
StateChangeEvent(C source,
boolean fromClient,
S state)
Creates a new event using the given source and indicator whether the
event originated from the client side or the server side.
|
| Modifier and Type | Method and Description |
|---|---|
S |
getState()
Returns current state of the source component.
|
getSource, isFromClient, unregisterListenertoStringpublic StateChangeEvent(C source, boolean fromClient, S state)
source - the source componentfromClient - true if the event originated from the clientstate - Current state of the component.public S getState()
null.Copyright © 2023 Miki. All rights reserved.