Package org.jumpmind.vaadin.ui.common
Class SplitterResizedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.splitlayout.SplitLayout>
org.jumpmind.vaadin.ui.common.SplitterResizedEvent
- All Implemented Interfaces:
Serializable
@DomEvent("splitter-resized")
public class SplitterResizedEvent
extends com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.splitlayout.SplitLayout>
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionSplitterResizedEvent
(com.vaadin.flow.component.splitlayout.SplitLayout source, boolean fromClient, String leftWidth, String rightWidth) Creates a new event using the given source and indicator whether the event originated from the client side or the server side. -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SplitterResizedEvent
public SplitterResizedEvent(com.vaadin.flow.component.splitlayout.SplitLayout source, boolean fromClient, @EventData("event.detail.leftWidth") String leftWidth, @EventData("event.detail.rightWidth") String rightWidth) Creates a new event using the given source and indicator whether the event originated from the client side or the server side.- Parameters:
source
- the source componentfromClient
-true
if the event originated from the client
-
-
Method Details
-
getLeftWidth
public double getLeftWidth() -
getRightWidth
public double getRightWidth()
-