Package de.f0rce.signaturepad
Class ImageEncode
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<SignaturePad>
de.f0rce.signaturepad.ImageEncode
- All Implemented Interfaces:
Serializable
@DomEvent("image-encode")
public class ImageEncode
extends com.vaadin.flow.component.ComponentEvent<SignaturePad>
This class is used to listen to the image-encode event sent by the frontend. It contains the
image URI and the MIME-Type.
- Author:
- David "F0rce" Dodlek
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionImageEncode(SignaturePad source, boolean fromClient, String image, String type, boolean isEmpty) -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ImageEncode
public ImageEncode(SignaturePad source, boolean fromClient, @EventData("event.detail.image") String image, @EventData("event.detail.type") String type, @EventData("event.detail.isEmpty") boolean isEmpty)
-
-
Method Details