E
- the bean type@DomEvent(value="edit") public static class Crud.EditEvent<E> extends ComponentEvent<Crud<E>>
source
Constructor and Description |
---|
EditEvent(Crud<E> source,
boolean fromClient,
elemental.json.JsonObject item,
Object ignored)
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 |
---|---|
E |
getItem()
Gets the item being currently edited.
|
getSource, isFromClient, unregisterListener
toString
public EditEvent(Crud<E> source, boolean fromClient, @EventData(value="event.detail.item") elemental.json.JsonObject item, @EventData(value="event.preventDefault()") Object ignored)
source
- the source componentfromClient
- true
if the event originated from the clientitem
- the item to be edited, provided in JSON as internally
represented in Gridignored
- an ignored parameter for a side effectpublic E getItem()
Copyright © 2025. All rights reserved.